Skip to content

Commit

Permalink
Issue#138: 2nd part of fix (hopefully complete).
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Fosdick committed Mar 12, 2021
1 parent 607c7ff commit b672bf0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/6502.c
Original file line number Diff line number Diff line change
Expand Up @@ -648,8 +648,10 @@ static void write_acccon_bplus(int val)
{
acccon = val;
vidbank = (val & 0x80) << 8;
if (val & 0x80)
if (val & 0x80) {
RAMbank[0xA] = ram8k ? 1 : 0;
RAMbank[0xC] = RAMbank[0xD] = 1;
}
else
RAMbank[0xC] = RAMbank[0xD] = 0;
}
Expand Down

0 comments on commit b672bf0

Please sign in to comment.