From c244e6691a175ae18e4cc4d031d33ef6a66383d5 Mon Sep 17 00:00:00 2001 From: Daryl Date: Wed, 2 Sep 2020 18:18:13 -0600 Subject: [PATCH] improve PAL game detection (thanks Tanooki16!) --- source/fceultra/ines.cpp | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/source/fceultra/ines.cpp b/source/fceultra/ines.cpp index 93eed39..52e0531 100644 --- a/source/fceultra/ines.cpp +++ b/source/fceultra/ines.cpp @@ -924,7 +924,17 @@ int iNESLoad(const char *name, FCEUFILE *fp, int OverwriteVidMode) { || strstr(name, "(Europe)") || strstr(name, "(PAL)") || strstr(name, "(F)") || strstr(name, "(f)") || strstr(name, "(G)") || strstr(name, "(g)") - || strstr(name, "(I)") || strstr(name, "(i)")) + || strstr(name, "(I)") || strstr(name, "(i)") + || strstr(name, "(Europe)") || strstr(name, "(PAL)") + || strstr(name, "(F)") || strstr(name, "(f)") + || strstr(name, "(G)") || strstr(name, "(g)") + || strstr(name, "(I)") || strstr(name, "(i)") + || strstr(name, "(S)") || strstr(name, "(s)") + || strstr(name, "(France)") || strstr(name, "(Germany)") + || strstr(name, "(Italy)") || strstr(name, "(Spain)") + || strstr(name, "(Sweden)") || strstr(name, "(Sw)") + || strstr(name, "(Australia)") || strstr(name, "(A)") + || strstr(name, "(a)")) FCEUI_SetVidSystem(1); else FCEUI_SetVidSystem(0);