From 67327481b70138d833cbe67db0e96ef6bc1c66f8 Mon Sep 17 00:00:00 2001 From: ds22x <45218067+ds22x@users.noreply.github.com> Date: Mon, 13 Sep 2021 15:04:42 +0200 Subject: [PATCH] Add bitmap viewport check --- libretro/libretro.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libretro/libretro.c b/libretro/libretro.c index 7b5adb1..7d95f53 100644 --- a/libretro/libretro.c +++ b/libretro/libretro.c @@ -2847,7 +2847,7 @@ void retro_run(void) } } - if ((config.left_border != 0) && (reg[0] & 0x20) && ((system_hw == SYSTEM_MARKIII) || (system_hw & SYSTEM_SMS) || (system_hw == SYSTEM_PBC))) + if ((config.left_border != 0) && (reg[0] & 0x20) && (bitmap.viewport.x = 0) && ((system_hw == SYSTEM_MARKIII) || (system_hw & SYSTEM_SMS) || (system_hw == SYSTEM_PBC))) { bmdoffset = 16; if (config.left_border == 1)