1
0
mirror of https://github.com/TomHarte/CLK.git synced 2024-11-25 16:31:42 +00:00

Fix base for Master System fetching.

This commit is contained in:
Thomas Harte 2023-04-30 16:43:03 -04:00
parent 19d03dd4fd
commit 6552d962ab

View File

@ -544,7 +544,7 @@ struct SMSSequencer {
} }
if(cycle >= 25 && cycle < 153) { if(cycle >= 25 && cycle < 153) {
constexpr int offset = cycle - 39; constexpr int offset = cycle - 25;
constexpr int block = offset >> 2; constexpr int block = offset >> 2;
constexpr int sub_block = offset & 3; constexpr int sub_block = offset & 3;