(SSNES_CONSOLE) Remove useless ifdef
This commit is contained in:
parent
6fb2f9b161
commit
9be0365b0e
|
@ -590,7 +590,6 @@ void ssnes_startup (const char * config_path)
|
|||
if(g_console.emulator_initialized)
|
||||
ssnes_main_deinit();
|
||||
|
||||
#ifdef __cplusplus
|
||||
struct ssnes_main_wrap args = {0};
|
||||
|
||||
args.verbose = g_extern.verbose;
|
||||
|
@ -598,15 +597,6 @@ void ssnes_startup (const char * config_path)
|
|||
args.sram_path = g_console.default_sram_dir_enable ? g_console.default_sram_dir : NULL,
|
||||
args.state_path = g_console.default_savestate_dir_enable ? g_console.default_savestate_dir : NULL,
|
||||
args.rom_path = g_console.rom_path;
|
||||
#else
|
||||
struct ssnes_main_wrap args = {
|
||||
.verbose = g_extern.verbose,
|
||||
.config_path = config_path,
|
||||
.sram_path = g_console.default_sram_dir_enable ? g_console.default_sram_dir : NULL,
|
||||
.state_path = g_console.default_savestate_dir_enable ? g_console.default_savestate_dir : NULL,
|
||||
.rom_path = g_console.rom_path
|
||||
};
|
||||
#endif
|
||||
|
||||
int init_ret = ssnes_main_init_wrap(&args);
|
||||
(void)init_ret;
|
||||
|
|
Loading…
Reference in New Issue