int main() { int choice; yabauseut_init(); // Display Main Menu for(;;) { vdp_printf(&test_disp_font, 0 * 8, 27 * 8, 0xF, "Build Time: %s %s", __DATE__, __TIME__); choice = gui_do_menu(main_menu, &test_disp_font, 0, 0, "YabauseUT v0.1", MTYPE_CENTER, -1); gui_clear_scr(&test_disp_font); } }
int main() { installer_init(); // Display Main Menu for(;;) { commlink_start_service(); gui_do_menu(main_menu, &main_font, 0, 0, "Pseudo Saturn Installer v" INSTALLER_VERSION, MTYPE_CENTER, -1); main_font.transparent = 1; gui_clear_scr(&main_font); } return 0; }
void vdp1_test() { int choice; menu_item_struct vdp1_menu[] = { { "Draw commands" , &vdp1_draw_test, }, { "Clip commands" , &vdp1_clip_test, }, { "Misc" , &vdp1_misc_test, }, { "\0", NULL } }; for (;;) { choice = gui_do_menu(vdp1_menu, &test_disp_font, 0, 0, "VDP1 Tests", MTYPE_CENTER, -1); if (choice == -1) break; } }
void scsp_test() { int choice; menu_item_struct vdp1_menu[] = { // { "Individual slots(Mute sound first)" , &scspslottest, }, { "SCSP timing" , &scsp_timing_test, }, { "Misc" , &scsp_misc_test, }, // { "Interactive" , &scspinteractivetest, }, { "\0", NULL } }; for (;;) { choice = gui_do_menu(vdp1_menu, &test_disp_font, 0, 0, "SCSP Tests", MTYPE_CENTER, -1); if (choice == -1) break; } }
void cart_test() { int choice; menu_item_struct cart_menu[] = { { "Action Replay" , &ar_test, }, { "1 Mbit DRAM Cart", &dram_1mbit_test, }, { "4 Mbit DRAM Cart", &dram_4mbit_test, }, { "Backup RAM Cart" , &bup_test, }, { "Netlink Cart" , &netlink_test, }, { "ROM Cart" , &rom_test, }, { "Misc" , &misc_cart_test, }, { "\0", NULL } }; for (;;) { choice = gui_do_menu(cart_menu, &test_disp_font, 0, 0, "Cart Tests", MTYPE_CENTER, -1); if (choice == -1) break; } }