Merge pull request #150 from Tivian/typofix

Fix typo inside saving routine for Raspberry Pi Zero
This commit is contained in:
Stephen White 2019-11-04 12:20:17 +11:00 committed by GitHub
commit 1890c97f9e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -117,7 +117,7 @@ public:
else else
{ {
TestDirty(track, (dataOld & bitMask) != 0); TestDirty(track, (dataOld & bitMask) != 0);
tracks[(track << 13) + byte] &= bitMask; tracks[(track << 13) + byte] &= ~bitMask;
} }
#else #else
u8 dataOld = tracks[track][byte]; u8 dataOld = tracks[track][byte];