-
-
Notifications
You must be signed in to change notification settings - Fork 212
GB_reset
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
void GB_reset(GB_gameboy_t *gb);
In gb.h
This function emulates a power cycle in an emulator instance. All internal RAM types (but not external RAM found inside the cartridge) will be randomized or zeroed out, MMIO registers will be set to their initial values, and the instance will be set to execute the boot ROM again.
GB_reset
must not be called if the instance is being run in any thread, including the current one (via a callback).