From 79c27047e4d12d6a66ce96c1c95017f160d072ce Mon Sep 17 00:00:00 2001 From: zeromus Date: Wed, 21 Dec 2016 19:57:03 +0000 Subject: [PATCH] apply patch #766 (use tv_system from nes 2.0 header) --- trunk/src/ines.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/trunk/src/ines.cpp b/trunk/src/ines.cpp index c9ecb609..dd7b976e 100644 --- a/trunk/src/ines.cpp +++ b/trunk/src/ines.cpp @@ -910,7 +910,9 @@ int iNESLoad(const char *name, FCEUFILE *fp, int OverwriteVidMode) { // since apparently the iNES format doesn't store this information, // guess if the settings should be PAL or NTSC from the ROM name // TODO: MD5 check against a list of all known PAL games instead? - if (OverwriteVidMode) { + if (iNES2) { + FCEUI_SetVidSystem(((head.TV_system & 3) == 1) ? 1 : 0); + } else if (OverwriteVidMode) { if (strstr(name, "(E)") || strstr(name, "(e)") || strstr(name, "(Europe)") || strstr(name, "(PAL)") || strstr(name, "(F)") || strstr(name, "(f)")