mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 03:32:46 +00:00
(360) Set up SSNES 360 for new console environment settings
This commit is contained in:
parent
d7afd20346
commit
e1bbaee64c
@ -178,7 +178,6 @@ static void set_default_settings (void)
|
||||
g_console.custom_viewport_height = 0;
|
||||
g_console.custom_viewport_x = 0;
|
||||
g_console.custom_viewport_y = 0;
|
||||
g_console.extract_zip_files_enable = can_extract_zip_files();
|
||||
|
||||
//g_extern
|
||||
g_extern.state_slot = 0;
|
||||
@ -451,6 +450,8 @@ static void get_environment_settings (void)
|
||||
|
||||
strlcpy(DEFAULT_SHADER_FILE, "game:\\media\\shaders\\stock.cg", sizeof(DEFAULT_SHADER_FILE));
|
||||
strlcpy(SYS_CONFIG_FILE, "game:\\ssnes.cfg", sizeof(SYS_CONFIG_FILE));
|
||||
|
||||
init_libsnes_sym();
|
||||
}
|
||||
|
||||
static bool manage_libsnes_core(void)
|
||||
|
@ -44,7 +44,9 @@ void ssnes_console_set_rom_ext(const char *ext)
|
||||
const char *ssnes_console_get_rom_ext(void)
|
||||
{
|
||||
const char *id = snes_library_id();
|
||||
|
||||
|
||||
if (*g_rom_ext)
|
||||
return g_rom_ext;
|
||||
// SNES9x / bSNES
|
||||
if (strstr(id, "SNES"))
|
||||
return "smc|fig|sfc|gd3|gd7|dx2|bsx|swc|zip|SMC|FIG|SFC|BSX|GD3|GD7|DX2|SWC|ZIP";
|
||||
@ -63,8 +65,6 @@ const char *ssnes_console_get_rom_ext(void)
|
||||
// Genesis Plus GX/Next
|
||||
else if (strstr(id, "Genesis Plus GX"))
|
||||
return "md|smd|bin|gen|zip|MD|SMD|bin|GEN|ZIP|sms|SMS|gg|GG|sg|SG";
|
||||
else if (*g_rom_ext)
|
||||
return g_rom_ext;
|
||||
|
||||
return NULL;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user