Updated GB_reset (markdown)

Lior Halphon 2024-11-24 23:34:31 +02:00
parent 9daf072c7d
commit 77f4042ad0
1 changed files with 7 additions and 1 deletions

@ -6,8 +6,14 @@ In `gb.h`
## Description ## Description
TBD 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|GB_random_set_enabled]], MMIO registers will be set to their initial values, and the instance will be set to execute the boot ROM again.
## Thread Safety ## Thread Safety
`GB_reset` must not be called if the instance is being run in any thread, including the current one (via a callback). `GB_reset` must not be called if the instance is being run in any thread, including the current one (via a callback).
## See Also
* [[GB_quick_reset]]
* [[GB_switch_model_and_reset]]
* [[GB_random_set_enabled]]