From 0b8e5fb93a8d4bde6ff7f8b01b256174cd4b619f Mon Sep 17 00:00:00 2001 From: meepingsnesroms Date: Mon, 6 Jun 2016 12:54:43 -0700 Subject: [PATCH] Revert speedhack --- libretro/libretro.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 4568a2f0..94a21810 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -474,8 +474,6 @@ void retro_deinit(void) void retro_reset (void) { S9xSoftReset(); - - check_variables(); } static int16_t retro_mouse_state[2][2] = {{0}, {0}}; @@ -623,6 +621,9 @@ void retro_run (void) poll_cb(); report_buttons(); S9xMainLoop(); + + if (environ_cb(RETRO_ENVIRONMENT_GET_VARIABLE_UPDATE, &updated) && updated) + check_variables(); } size_t retro_serialize_size (void)