From 91f71206040fe4d4f70ebab8543f760adbb930af Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 23 Jan 2016 19:42:05 +0100 Subject: [PATCH] Cleanup --- runloop.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/runloop.c b/runloop.c index f897ba1154..73b82805ec 100644 --- a/runloop.c +++ b/runloop.c @@ -1052,8 +1052,9 @@ bool runloop_ctl(enum runloop_ctl_state state, void *data) rarch_task_deinit(); break; case RUNLOOP_CTL_IS_CORE_OPTION_UPDATED: - return runloop_system.core_options ? - core_option_updated(runloop_system.core_options) : false; + if (!runloop_system.core_options) + return false; + return core_option_updated(runloop_system.core_options); case RUNLOOP_CTL_CORE_OPTION_PREV: { unsigned *idx = (unsigned*)data;