From 752ca937655e297b6b1416d547afde114cbfc26c Mon Sep 17 00:00:00 2001 From: Sergey Lipskiy Date: Thu, 9 Apr 2015 17:20:37 +0600 Subject: [PATCH] Correct VI_UpdateSize() for pal games. Fixed Donkey Kong (E), issue #355 --- VI.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VI.cpp b/VI.cpp index 85d1ee40..77db8294 100644 --- a/VI.cpp +++ b/VI.cpp @@ -50,7 +50,7 @@ void VI_UpdateSize() VI.width = min((u32)floorf((hEnd - hStart)*xScale + 0.5f), *REG.VI_WIDTH); const bool isPAL = (*REG.VI_V_SYNC & 0x3ff) > 550; - if (isPAL && (vEnd - vStart) > 480) { + if (isPAL && (vEnd - vStart) > 478) { VI.height = (u32)(VI.real_height*1.0041841f); if (VI.height > 576) VI.height = VI.real_height = 576;