(PS3) Now uses new environment extensions too

This commit is contained in:
TwinAphex51224 2012-03-12 17:05:37 +01:00
parent 37b8585df4
commit 07a4619a70
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,6 @@ static void set_default_settings(void)
g_console.custom_viewport_y = 0;
strlcpy(g_console.rsound_ip_address, "0.0.0.0", sizeof(g_console.rsound_ip_address));
g_console.custom_bgm_enable = true;
g_console.extract_zip_files_enable = can_extract_zip_files();
// g_extern
g_extern.state_slot = 0;
@ -576,6 +575,7 @@ int main(int argc, char *argv[])
set_default_settings();
init_settings(load_libsnes_path);
init_libsnes_sym();
#if(CELL_SDK_VERSION > 0x340000)
if (g_console.screenshots_enable)

View File

@ -2001,7 +2001,7 @@ static void select_rom(void)
snprintf(rom_path_temp, sizeof(rom_path_temp), "%s/%s", FILEBROWSER_GET_CURRENT_DIRECTORY_NAME(browser), FILEBROWSER_GET_CURRENT_FILENAME(browser));
if((strstr(rom_path_temp, ".zip") || strstr(rom_path_temp, ".ZIP")) && g_console.extract_zip_files_enable)
if((strstr(rom_path_temp, ".zip") || strstr(rom_path_temp, ".ZIP")) && !g_console.block_zip_extract)
ssnes_extract_zipfile(rom_path_temp);
else
{