-
-
Notifications
You must be signed in to change notification settings - Fork 212
GB_set_rewind_length
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
void GB_set_rewind_length(GB_gameboy_t *gb, double seconds);
In rewind.h
Sets the time limit, in seconds, of the emulator instance's rewind buffer. Changing the buffer's length implicitly resets it.
In order for the debugger to support the backstep
command, a non-zero rewind length is required.
GB_set_rewind_length
must not be called if the instance is being run in another thread, but may be called from the current one (via a callback).