Add bitmap viewport check

This commit is contained in:
ds22x 2021-09-13 15:04:42 +02:00 committed by GitHub
parent f6976f914b
commit 67327481b7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)