-
-
Notifications
You must be signed in to change notification settings - Fork 217
GB_quick_reset
Lior Halphon edited this page Nov 24, 2024
·
2 revisions
void GB_quick_reset(GB_gameboy_t *gb);
In gb.h
This function emulates a quick power cycle or a pulse on the RESET cartridge pin in an emulator instance. This has a similar effect to GB_reset, but it will keep the contents of all RAM types (including internal RAM types), as well as MMIO registers that have their contents preserved even after a reset.
GB_quick_reset
must not be called if the instance is being run in any thread, including the current one (via a callback).