Correct Bitmap Viewport check for Master System Left Border (#388)

This commit is contained in:
ds22x 2021-09-16 19:29:22 +02:00 committed by GitHub
parent 86c46138a5
commit 543e17f818
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2864,7 +2864,7 @@ void retro_run(void)
} }
} }
if ((config.left_border != 0) && (reg[0] & 0x20) && (bitmap.viewport.x = 0) && ((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; bmdoffset = 16;
if (config.left_border == 1) if (config.left_border == 1)