mirror of
https://github.com/GearsProgress/Poke_Transporter_GB.git
synced 2026-10-01 05:17:48 -05:00
Updating global_next_frame to be interrupt based
This commit is contained in:
@@ -247,7 +247,7 @@ unsigned vertical_menu::run()
|
||||
|
||||
while(true)
|
||||
{
|
||||
key_poll(); // Reset the buttons
|
||||
//key_poll(); // Reset the buttons
|
||||
|
||||
input_result = handle_input();
|
||||
|
||||
@@ -269,7 +269,7 @@ unsigned vertical_menu::run()
|
||||
run_cycle_handler_->on_run_cycle();
|
||||
}
|
||||
|
||||
global_next_frame();
|
||||
VBlankIntrWait();
|
||||
}
|
||||
// should never happen
|
||||
return UINT32_MAX;
|
||||
|
||||
Reference in New Issue
Block a user