mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_switch_model_and_reset (markdown)
parent
1eaa64caa4
commit
e9dbe9a66d
|
@ -6,8 +6,15 @@ In `gb.h`
|
|||
|
||||
## Description
|
||||
|
||||
TBD
|
||||
This function will replace the emulator instance's [[model|GB_model_t]], then perform a [[reset|GB_reset]].
|
||||
|
||||
## Thread Safety
|
||||
|
||||
`GB_switch_model_and_reset` must not be called if the instance is being run in any thread, including the current one (via a callback).
|
||||
|
||||
## See Also
|
||||
|
||||
* [[GB_model_t]]
|
||||
* [[Instance Allocation (GB_init)|Instance Allocation]]
|
||||
* [[GB_reset]]
|
||||
* [[GB_quick_reset]]
|
Loading…
Reference in New Issue