mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_reset (markdown)
parent
9daf072c7d
commit
77f4042ad0
|
@ -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]]
|
Loading…
Reference in New Issue