Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/fceux.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAutomerge Bot <bot@example.com>2023-08-23 03:23:12 +0300
committerAutomerge Bot <bot@example.com>2023-08-23 03:23:12 +0300
commit0562163c07d632aae1b063878ed08a20297d5aa9 (patch)
treea0cfd40265239b72d05c4e3368c0f1b69944d108
parent67704de0d797a862b90dd6949023fa8913978115 (diff)
parent3981ffc8a235df44f2a017e6a3d33e090c7a9804 (diff)
Merge branch 'master' of https://github.com/TASVideos/fceux into cluster
-rw-r--r--src/boards/mmc5.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/boards/mmc5.cpp b/src/boards/mmc5.cpp
index a5e1e164..82095f04 100644
--- a/src/boards/mmc5.cpp
+++ b/src/boards/mmc5.cpp
@@ -424,7 +424,7 @@ static void MMC5PRG(void) {
switch (mmc5psize & 3) {
case 0:
MMC5ROMWrProtect[0] = MMC5ROMWrProtect[1] = MMC5ROMWrProtect[2] = MMC5ROMWrProtect[3] = 1;
- setprg32(0x8000, ((PRGBanks[1] & 0x7F) >> 2));
+ setprg32(0x8000, ((PRGBanks[3] & 0x7F) >> 2));
for (x = 0; x < 4; x++)
MMC5MemIn[1 + x] = 1;
break;