From 470c857470b84ec73b2762ac8a7f3c2ce205b7db Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 6 Jun 2017 06:16:43 +0200 Subject: [PATCH] Only unload core when it's not the dummy core --- command.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/command.c b/command.c index 95bdbca3c3..6cb22a1c89 100644 --- a/command.c +++ b/command.c @@ -1777,7 +1777,8 @@ bool command_event(enum event_command cmd, void *data) rarch_ctl(RARCH_CTL_SYSTEM_INFO_FREE, NULL); #endif core_unload_game(); - core_unload(); + if (!rarch_ctl(RARCH_CTL_IS_DUMMY_CORE, NULL)) + core_unload(); } break; case CMD_EVENT_QUIT: