(Non-HAVE_DYNAMIC) should correctly call retro_unload_game and

core_deinit now when we select 'Close Content'
This commit is contained in:
twinaphex 2016-07-23 07:13:21 +02:00
parent 3669d44de9
commit aae99faf12

View File

@ -1918,6 +1918,10 @@ bool command_event(enum event_command cmd, void *data)
CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE,
NULL, NULL))
return false;
#ifndef HAVE_DYNAMIC
core_unload_game();
core_unload();
#endif
break;
default:
break;