mirror of
https://github.com/libretro/RetroArch
synced 2025-02-06 09:40:06 +00:00
Try these in order of plausibility.
This commit is contained in:
parent
a4812c955f
commit
fbb8256780
4
patch.c
4
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");
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user