Skip to content

Commit

Permalink
Fix #1026 (StarTropics/NES mapper 4.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ancyker committed Sep 14, 2024
1 parent 3143148 commit a226a3c
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions Cart_Reader/NES.ino
Original file line number Diff line number Diff line change
Expand Up @@ -611,8 +611,10 @@ void printDataLine_NES(void* entry) {
// Identify variant for use across multiple functions
if (mapper == 4) { // Check for MMC6/MMC3
checkMMC6();
if (mmc6)
ram = 1; // 1K
if (mmc6) {
ram = 1; // 1K
ramsize = 1; // Must be a non-zero value
}
}
printNESSettings();
}
Expand Down Expand Up @@ -1627,8 +1629,10 @@ void checkStatus_NES() {
// Identify variant for use across multiple functions
if (mapper == 4) { // Check for MMC6/MMC3
checkMMC6();
if (mmc6)
ram = 1; // 1K
if (mmc6) {
ram = 1; // 1K
ramsize = 1; // Must be a non-zero value
}
} else if (mapper == 30) { // Check for Flashable/Non-Flashable
#if defined(ENABLE_FLASH)
NESmaker_ID(); // Flash ID
Expand Down

0 comments on commit a226a3c

Please sign in to comment.