Skip to content

Commit

Permalink
Fix bug with censored pages not being uncensored when required
Browse files Browse the repository at this point in the history
  • Loading branch information
drdnar committed Dec 22, 2014
1 parent c041fdf commit 2eb2c57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tiedye/Hardware/SE84/MemoryMapperSE.cs
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ public override byte BusRead(object sender, ushort address)
Master.Reset();
// Check for censorship
int highBits = ((1 << flashType) - 1) << 20;
if ((linearAddress & 0xF00000) == highBits)
if ((linearAddress & 0xF00000) == highBits && !FlashWriteEnable)
{
highBits = linearAddress & 0xFFFFF;
if (highBits >= 0xF8000 && highBits < 0xFC000)
Expand Down

0 comments on commit 2eb2c57

Please sign in to comment.