Skip to content

Commit

Permalink
Merge pull request #765 from negativeExponent/patch-2
Browse files Browse the repository at this point in the history
MMC5: Fix initial values for chr banks and nametables
  • Loading branch information
thor2016 authored Nov 24, 2024
2 parents 940c895 + 4441f3c commit 4a2d980
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/boards/mmc5.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -903,14 +903,14 @@ static void GenMMC5Power(void) {

PRGBanks.fill(0xFF);
WRAMPage = 0;
CHRBanksA.fill(0xFF);
CHRBanksB.fill(0xFF);
CHRBanksA.fill(0);
CHRBanksB.fill(0);
WRAMMaskEnable.fill(0xFF);
mmc5ABMode = 0;
IRQScanline = 0;
IRQEnable = 0;
CHRMode = 0;
NTAMirroring = NTFill = ATFill = 0xFF;
NTAMirroring = NTFill = ATFill = 0;
MMC5IRQR = 0;
MMC5LineCounter = 0;
mmc5psize = mmc5vsize = 3;
Expand Down

0 comments on commit 4a2d980

Please sign in to comment.