mirror of https://github.com/LIJI32/SameBoy.git
Updated GB_run_frame (markdown)
parent
d7bf8aeab6
commit
9daf072c7d
|
@ -6,8 +6,13 @@ In `gb.h`
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
||||||
TBD
|
Runs an emulator instance until a [[vblank callback|GB_set_vblank_callback]] is called. Returns the number of time passed, in units of 8MHz (8,388,608Hz) ticks. Unlike [[GB_run]], this function does not handle time keeping, and will not sleep.
|
||||||
|
|
||||||
## Thread Safety
|
## Thread Safety
|
||||||
|
|
||||||
`GB_run_frame` must not be called if the instance is being run in any thread, including the current one (via a callback).
|
`GB_run_frame` must not be called if the instance is being run in any thread, including the current one (via a callback).
|
||||||
|
|
||||||
|
## See Also
|
||||||
|
|
||||||
|
* [[GB_run]]
|
||||||
|
* [[GB_set_vblank_callback]]
|
Loading…
Reference in New Issue