From fbb8256780b8873d5650a7c4acf34243574fcbcb Mon Sep 17 00:00:00 2001 From: Alcaro Date: Mon, 1 Jun 2015 19:39:10 +0200 Subject: [PATCH] Try these in order of plausibility. --- patch.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patch.c b/patch.c index 321998be4b..5e4da6f83c 100644 --- a/patch.c +++ b/patch.c @@ -564,13 +564,13 @@ void patch_content(uint8_t **buf, ssize_t *size) { global_t *global = global_get_ptr(); - if (global->ups_pref + global->bps_pref + global->ips_pref > 1) + if (global->ips_pref + global->bps_pref + global->ups_pref > 1) { RARCH_WARN("Several patches are explicitly defined, ignoring all ...\n"); return; } - if (!try_ups_patch(buf, size) && !try_bps_patch(buf, size) && !try_ips_patch(buf, size)) + if (!try_ips_patch(buf, size) && !try_bps_patch(buf, size) && !try_ups_patch(buf, size)) { RARCH_WARN("Did not find a valid content patch.\n"); }