Exemplo n.º 1
0
     "Press left + right to change the current slot.", 3),
    submenu_option(&savestate_menu, "Savestate options",
     "Select to enter a menu for loading, saving, and viewing the\n"
     "currently active savestate for this game (or to load a savestate\n"
     "file from another game)", 4),
#if !defined(ZAURUS) && !defined(DINGUX_ON_WIN32)
    submenu_option(&gamepad_config_menu, "Configure gamepad input",
     "Select to change the in-game behavior of the PSP buttons and d-pad.",
     6),
    submenu_option(&analog_config_menu, "Configure analog input",
     "Select to change the in-game behavior of the PSP analog nub.", 7),
#endif
    submenu_option(&cheats_misc_menu, "Cheats and Miscellaneous options",
     "Select to manage cheats, set backup behavior, and set device clock\n"
     "speed.", 9),
    action_option(menu_restart, NULL, "Restart game",
     "Select to reset the GBA with the current game loaded.", 11),
    action_option(menu_exit, NULL, "Return to game",
     "Select to exit this menu and resume gameplay.", 12),
    action_option(menu_quit, NULL, "Exit gpSP",
     "Select to exit gpSP and return to the PSP XMB/loader.", 14)
  };

  make_menu(main, submenu_main, NULL);

  void choose_menu(menu_type *new_menu)
  {
    if(new_menu == NULL)
      new_menu = &main_menu;

    clear_screen(COLOR_BG);
#if !defined(ZAURUS) && !defined(DINGUX_ON_WIN32)
Exemplo n.º 2
0
     "See the extended menu for more information.\n"
     "Press left + right to change the current slot.", 3),
    submenu_option(&savestate_menu, "Savestate options",
     "Select to enter a menu for loading, saving, and viewing the\n"
     "currently active savestate for this game (or to load a savestate\n"
     "file from another game)", 4),
    submenu_option(&gamepad_config_menu, "Configure gamepad input",
     "Select to change the in-game behavior of the PSP buttons and d-pad.",
     6),
    submenu_option(&analog_config_menu, "Configure analog input",
     "Select to change the in-game behavior of the PSP analog nub.", 7),
    submenu_option(&cheats_misc_menu, "Cheats and Miscellaneous options",
     "Select to manage cheats, set backup behavior, and set device clock\n"
     "speed.", 9),
    action_option(menu_load, NULL, "Load new game",
     "Select to load a new game (will exit a game if currently playing).",
     11),
    action_option(menu_restart, NULL, "Restart game",
     "Select to reset the GBA with the current game loaded.", 12),
    action_option(menu_exit, NULL, "Return to game",
     "Select to exit this menu and resume gameplay.", 13),
    action_option(menu_quit, NULL, "Exit gpSP",
     "Select to exit gpSP and return to the PSP XMB/loader.", 15)
  };

  make_menu(main, submenu_main, NULL);

  void choose_menu(menu_type *new_menu)
  {
    if(new_menu == NULL)
      new_menu = &main_menu;