Updated GB_run_frame (markdown)

Lior Halphon 2024-11-24 23:24:08 +02:00
parent d7bf8aeab6
commit 9daf072c7d
1 changed files with 6 additions and 1 deletions

@ -6,8 +6,13 @@ In `gb.h`
## 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
`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]]