core: return to frontend after certain number of CPU cycles #89
Labels
diff: complex
A difficult issue; may require significant planning.
enhancement
New feature or request
Milestone
Currently, Peanut-GB uses
gb_run_frame()
to emulate the Game Boy and returns after a frame is drawn. If the LCD is set to off, then this function would not return until the game turns the LCD back on again. On a real Game Boy, this would result in a delay (typically small). But Peanut-GB skips this delay.Peanut-GB should return to the frontend after a certain number of CPU cycles (eg. the number of cycles that it would take for a frame to be drawn).
The text was updated successfully, but these errors were encountered: