From 2c9daee624e5d1985ff444686a84121d8590b8d7 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 25 Jan 2016 07:03:45 +0100 Subject: [PATCH] Cleanups --- dynamic.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dynamic.c b/dynamic.c index 5a3c0dbcaf..97cf99fc69 100644 --- a/dynamic.c +++ b/dynamic.c @@ -636,8 +636,6 @@ bool rarch_environment_cb(unsigned cmd, void *data) break; case RETRO_ENVIRONMENT_GET_VARIABLE: - { - if (!runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_GET, data)) { struct retro_variable *var = (struct retro_variable*)data; @@ -649,21 +647,18 @@ bool rarch_environment_cb(unsigned cmd, void *data) } break; - } case RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE: *(bool*)data = runloop_ctl(RUNLOOP_CTL_IS_CORE_OPTION_UPDATED, NULL); break; case RETRO_ENVIRONMENT_SET_VARIABLES: - { RARCH_LOG("Environ SET_VARIABLES.\n"); runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_DEINIT, NULL); runloop_ctl(RUNLOOP_CTL_CORE_OPTIONS_INIT, data); break; - } case RETRO_ENVIRONMENT_SET_MESSAGE: {