libretro / Genesis-Plus-GX-Wide

Widescreen modification of Genesis Plus GX
Other
22 stars 17 forks source link

Fix Plane B scrolling bug #16

Closed vladikcomper closed 2 years ago

vladikcomper commented 2 years ago

See issue #15 for detailed dug description.

This bug occurred when HSRAM values for Plane B were >= 0x10000 - config.h40_extra_columns * 4 (e.g., 0xFFD8 when h40_extra_columns = 10) because of a bit carry into the upper 16-bit word of xscroll.