if (strcasecmp(argv[x], "-config") == 0) {\r
if (x+1 < argc) { ++x; PicoConfigFile = argv[x]; }\r
}\r
- else if (strcasecmp(argv[x], "-loadstate") == 0) {\r
+ else if (strcasecmp(argv[x], "-loadstate") == 0\r
+ || strcasecmp(argv[x], "-load") == 0)\r
+ {\r
if (x+1 < argc) { ++x; load_state_slot = atoi(argv[x]); }\r
}\r
else if (strcasecmp(argv[x], "-pdb") == 0) {\r
short *dst;
int x, y;
+ if (src == NULL) {
+ memset(g_menubg_ptr, 0, g_menuscreen_w * g_menuscreen_h * 2);
+ return;
+ }
+
if (!no_scale && g_menuscreen_w / w >= 2 && g_menuscreen_h / h >= 2)
{
unsigned int t, *d = g_menubg_ptr;
void plat_video_menu_enter(int is_rom_loaded)
{
plat_sdl_change_video_mode(g_menuscreen_w, g_menuscreen_h, 0);
+ g_screen_ptr = shadow_fb;
}
void plat_video_menu_begin(void)