diff --git a/GB_run.md b/GB_run.md index 14694e8..7768e05 100644 --- a/GB_run.md +++ b/GB_run.md @@ -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]] \ No newline at end of file