From 95ad02e742bea0573afa7bbd6b1fd89982044ee8 Mon Sep 17 00:00:00 2001 From: Sebastien Ronsse Date: Mon, 27 Jun 2016 14:13:09 +1000 Subject: [PATCH] retroarch: Fix core type detection when cores are excplicitely set --- retroarch.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/retroarch.c b/retroarch.c index 70fd6a1b48..d27cc1298b 100644 --- a/retroarch.c +++ b/retroarch.c @@ -1658,8 +1658,9 @@ void retroarch_set_current_core_type(enum rarch_core_type type, bool explicitly_ { current_core_explicitly_set = true; explicit_current_core_type = type; + current_core_type = type; } - else + else if (!current_core_explicitly_set) current_core_type = type; }