Ifdef this for UWP for now since this will segfault on OSX - we
need a more uniform way of tearing things down without ifdefs for all platforms
This commit is contained in:
parent
13ac88c9df
commit
741b54d4be
|
@ -6162,7 +6162,7 @@ bool retroarch_main_quit(void)
|
||||||
runloop_state_t *runloop_st = runloop_state_get_ptr();
|
runloop_state_t *runloop_st = runloop_state_get_ptr();
|
||||||
video_driver_state_t*video_st = video_state_get_ptr();
|
video_driver_state_t*video_st = video_state_get_ptr();
|
||||||
settings_t *settings = config_get_ptr();
|
settings_t *settings = config_get_ptr();
|
||||||
|
#if defined(__WINRT__)
|
||||||
/*Save configs before quitting
|
/*Save configs before quitting
|
||||||
*as for UWP depending on `OnSuspending` is not important as we can call it directly here
|
*as for UWP depending on `OnSuspending` is not important as we can call it directly here
|
||||||
*specifically we need to get width,height which requires UI thread and it will not be available on exit
|
*specifically we need to get width,height which requires UI thread and it will not be available on exit
|
||||||
|
@ -6170,7 +6170,7 @@ bool retroarch_main_quit(void)
|
||||||
bool config_save_on_exit = settings->bools.config_save_on_exit;
|
bool config_save_on_exit = settings->bools.config_save_on_exit;
|
||||||
if (config_save_on_exit)
|
if (config_save_on_exit)
|
||||||
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
|
command_event(CMD_EVENT_MENU_SAVE_CURRENT_CONFIG, NULL);
|
||||||
|
#endif
|
||||||
#ifdef HAVE_PRESENCE
|
#ifdef HAVE_PRESENCE
|
||||||
{
|
{
|
||||||
presence_userdata_t userdata;
|
presence_userdata_t userdata;
|
||||||
|
|
Loading…
Reference in New Issue