2 GB_quick_reset
Lior Halphon edited this page 2024-11-24 23:36:40 +02:00

Definition

void GB_quick_reset(GB_gameboy_t *gb);

In gb.h

Description

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.

Thread Safety

GB_quick_reset must not be called if the instance is being run in any thread, including the current one (via a callback).

See Also