From d7bf8aeab6c6ebcfc17f7d43f8b37bfdc98b9763 Mon Sep 17 00:00:00 2001 From: Lior Halphon Date: Sun, 24 Nov 2024 23:22:15 +0200 Subject: [PATCH] Updated GB_run (markdown) --- GB_run.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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