Move ScreenCenter code to FontCycler

This commit is contained in:
2024-01-05 13:21:57 -06:00
parent f78d29c763
commit 60aa84ef28
8 changed files with 111 additions and 47 deletions

View File

@@ -33,8 +33,8 @@ struct StateChange {
static const Menu::SimpleMenu::Entry MenuEntries[] = {
{"Controller Test"},
{"GPU Test"},
{"Font Cycler"},
{"Screen Center"},
{"Menu 4"},
{"Menu 5"}
};
@@ -72,8 +72,14 @@ static void setup() {
break;
case 2:
state_changer.asset_load = Assets::Overlay::load_font_cycler;
state_changer.main = FontCycler::main;
break;
case 3:
state_changer.asset_load = Assets::Overlay::load_screen_center;
state_changer.main = ScreenCenter::main;
break;
}
},MenuEntries);
}