-
-
Notifications
You must be signed in to change notification settings - Fork 212
GB_run_frame
Lior Halphon edited this page Nov 30, 2024
·
3 revisions
uint64_t GB_run_frame(GB_gameboy_t *gb);
In gb.h
Runs an emulator instance until a 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 timekeeping and will not sleep.
GB_run_frame
must not be called if the instance is being run in any thread, including the current one (via a callback).