mirror of
https://github.com/TomHarte/CLK.git
synced 2024-11-23 03:32:32 +00:00
Merge pull request #1128 from TomHarte/SMSFetch
Fix base for Master System fetching.
This commit is contained in:
commit
4ebc3344cb
@ -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;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user