mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_run (markdown)
parent
2b4e32e3ea
commit
d7bf8aeab6
|
@ -6,8 +6,12 @@ In `gb.h`
|
|||
|
||||
## Description
|
||||
|
||||
TBD
|
||||
Runs an emulator instance for an atomic amount of time (usually a single instruction). Returns the number of time passed, in units of 8MHz (8,388,608Hz) ticks. If SameBoy was not compiled with time keeping disabled, and [[turbo mode|GB_set_turbo_mode]] was not enabled, this function can potentially sleep before returning to keep a correct frame rate.
|
||||
|
||||
## Thread Safety
|
||||
|
||||
`GB_run` must not be called if the instance is being run in any thread, including the current one (via a callback).
|
||||
|
||||
## See Also
|
||||
* [[GB_run_frame]]
|
||||
* [[GB_set_turbo_mode]]
|
Loading…
Reference in New Issue