mirror of
https://github.com/sanni/cartreader.git
synced 2024-11-15 01:15:06 +01:00
Fix #1026 (StarTropics/NES mapper 4.1)
This commit is contained in:
parent
3143148987
commit
a226a3cb97
@ -611,8 +611,10 @@ void printDataLine_NES(void* entry) {
|
|||||||
// Identify variant for use across multiple functions
|
// Identify variant for use across multiple functions
|
||||||
if (mapper == 4) { // Check for MMC6/MMC3
|
if (mapper == 4) { // Check for MMC6/MMC3
|
||||||
checkMMC6();
|
checkMMC6();
|
||||||
if (mmc6)
|
if (mmc6) {
|
||||||
ram = 1; // 1K
|
ram = 1; // 1K
|
||||||
|
ramsize = 1; // Must be a non-zero value
|
||||||
|
}
|
||||||
}
|
}
|
||||||
printNESSettings();
|
printNESSettings();
|
||||||
}
|
}
|
||||||
@ -1627,8 +1629,10 @@ void checkStatus_NES() {
|
|||||||
// Identify variant for use across multiple functions
|
// Identify variant for use across multiple functions
|
||||||
if (mapper == 4) { // Check for MMC6/MMC3
|
if (mapper == 4) { // Check for MMC6/MMC3
|
||||||
checkMMC6();
|
checkMMC6();
|
||||||
if (mmc6)
|
if (mmc6) {
|
||||||
ram = 1; // 1K
|
ram = 1; // 1K
|
||||||
|
ramsize = 1; // Must be a non-zero value
|
||||||
|
}
|
||||||
} else if (mapper == 30) { // Check for Flashable/Non-Flashable
|
} else if (mapper == 30) { // Check for Flashable/Non-Flashable
|
||||||
#if defined(ENABLE_FLASH)
|
#if defined(ENABLE_FLASH)
|
||||||
NESmaker_ID(); // Flash ID
|
NESmaker_ID(); // Flash ID
|
||||||
|
Loading…
Reference in New Issue
Block a user