diff --git a/console/console_ext.c b/console/console_ext.c index ca35905f3f..24053e010a 100644 --- a/console/console_ext.c +++ b/console/console_ext.c @@ -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;