-
-
Notifications
You must be signed in to change notification settings - Fork 216
GB_rewind_reset
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
void GB_rewind_reset(GB_gameboy_t *gb);
In rewind.h
Clears the current contents of the emulator instance's rewind buffer.
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).
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.