Updating global_next_frame to be interrupt based

This commit is contained in:
GearsProgress
2026-04-16 13:56:50 -04:00
parent 4408ae1a42
commit 4e92542f5c
13 changed files with 55 additions and 55 deletions

View File

@@ -36,7 +36,7 @@ int Button_Menu::button_main()
int curr_x = 0;
int curr_y = 0;
key_poll(); // Reset the buttons
//key_poll(); // Reset the buttons
while (true)
{
@@ -96,7 +96,7 @@ int Button_Menu::button_main()
curr_position = get_pos_from_xy(curr_x, curr_y);
button_vector.at(curr_position).set_highlight(true);
}
global_next_frame();
VBlankIntrWait();
}
return 0;
}