Skip to content

GB_rewind_reset

Lior Halphon edited this page Nov 30, 2024 · 3 revisions

Definition

void GB_rewind_reset(GB_gameboy_t *gb);

In rewind.h

Description

Clears the current contents of the emulator instance's rewind buffer.

Thread Safety

GB_rewind_reset must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).

Note

You should call this function after performing changes that invalidate the internal save states in the rewind buffer, such as hot-swapping into an incompatible ROM. This function can be implicitly called by other APIs if such changes are detected.

See Also

Clone this wiki locally