mirror of
https://github.com/libretro/RetroArch
synced 2025-01-18 13:23:40 +00:00
(360) Works now - environment settings were getting 'defaulted'
- placed init_libsnes_syms now right before menu_init
This commit is contained in:
parent
ed4a81e497
commit
8781b5c7d3
@ -450,8 +450,6 @@ 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)
|
||||
@ -539,6 +537,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
set_default_settings();
|
||||
init_settings(load_libsnes_path);
|
||||
init_libsnes_sym();
|
||||
|
||||
xdk360_video_init();
|
||||
xdk360_input_init();
|
||||
|
@ -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 = *(uint32_t*)data;
|
||||
g_console.block_zip_extract = *(const bool*)data;
|
||||
break;
|
||||
|
||||
case SNES_ENVIRONMENT_SET_ROM_FORMATS:
|
||||
|
@ -187,6 +187,7 @@ struct console_settings
|
||||
bool custom_bgm_enable;
|
||||
#endif
|
||||
bool block_config_read;
|
||||
bool block_zip_extract;
|
||||
bool default_sram_dir_enable;
|
||||
bool default_savestate_dir_enable;
|
||||
bool frame_advance_enable;
|
||||
@ -200,7 +201,6 @@ 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…
Reference in New Issue
Block a user