mirror of
https://github.com/libretro/RetroArch
synced 2025-02-22 12:40:09 +00:00
(360) More of aforementioned
This commit is contained in:
parent
e1bbaee64c
commit
ed4a81e497
@ -315,7 +315,7 @@ HRESULT CSSNESFileBrowser::OnNotifyPress( HXUIOBJ hObjPressed, BOOL& bHandled )
|
||||
{
|
||||
memset(strbuffer, 0, sizeof(strbuffer));
|
||||
wcstombs(strbuffer, (const wchar_t *)m_romlist.GetText(index), sizeof(strbuffer));
|
||||
if((strstr(strbuffer, ".zip") || strstr(strbuffer, ".ZIP")) && g_console.extract_zip_files_enable)
|
||||
if((strstr(strbuffer, ".zip") || strstr(strbuffer, ".ZIP")) && !g_console.block_zip_extract)
|
||||
{
|
||||
char path_tmp[1024];
|
||||
sprintf(path_tmp, "%s\\%s", FILEBROWSER_GET_CURRENT_DIRECTORY_NAME(browser), strbuffer);
|
||||
|
@ -388,7 +388,7 @@ static bool environment_cb(unsigned cmd, void *data)
|
||||
|
||||
#ifdef SSNES_CONSOLE
|
||||
case SNES_ENVIRONMENT_SET_BATCH_LOAD:
|
||||
g_console.block_zip_extract = *(const bool*)data;
|
||||
g_console.block_zip_extract = *(uint32_t*)data;
|
||||
break;
|
||||
|
||||
case SNES_ENVIRONMENT_SET_ROM_FORMATS:
|
||||
|
@ -189,8 +189,6 @@ struct console_settings
|
||||
bool block_config_read;
|
||||
bool default_sram_dir_enable;
|
||||
bool default_savestate_dir_enable;
|
||||
bool extract_zip_files_enable;
|
||||
bool block_zip_extract;
|
||||
bool frame_advance_enable;
|
||||
bool gamma_correction_enable;
|
||||
bool initialize_ssnes_enable;
|
||||
@ -202,6 +200,7 @@ struct console_settings
|
||||
bool throttle_enable;
|
||||
bool triple_buffering_enable;
|
||||
float overscan_amount;
|
||||
uint32_t block_zip_extract;
|
||||
uint32_t aspect_ratio_index;
|
||||
uint32_t custom_viewport_width;
|
||||
uint32_t custom_viewport_height;
|
||||
|
Loading…
x
Reference in New Issue
Block a user