From a09601cbfae4108687da59d00d9754aa1994f7d4 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 6 Sep 2016 04:55:24 +0200 Subject: [PATCH] Change ifndef HAVE_DYNAMIC to ifdef HAVE_DYNAMIC --- command.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/command.c b/command.c index fcc6a90690..2a613b4688 100644 --- a/command.c +++ b/command.c @@ -1990,11 +1990,11 @@ bool command_event(enum event_command cmd, void *data) CONTENT_MODE_LOAD_NOTHING_WITH_DUMMY_CORE, NULL, NULL)) return false; -#ifndef HAVE_DYNAMIC +#ifdef HAVE_DYNAMIC + command_event(CMD_EVENT_LOAD_CORE_DEINIT, NULL); +#else core_unload_game(); core_unload(); -#else - command_event(CMD_EVENT_LOAD_CORE_DEINIT, NULL); #endif break; case CMD_EVENT_QUIT_CONFIRM: