From 3b365bb0d7cfa3814383fa528a91a6a1efde9a9d Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 10 Feb 2015 20:43:38 +0100 Subject: [PATCH] Put conditional around pretro_run --- runloop.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runloop.c b/runloop.c index 1f95befffa..02ca0badd2 100644 --- a/runloop.c +++ b/runloop.c @@ -1093,7 +1093,8 @@ int rarch_main_iterate(void) /* Run libretro for one frame. */ - pretro_run(); + if (pretro_run) + pretro_run(); for (i = 0; i < g_settings.input.max_users; i++) {