Merge pull request #924 from smesgr9000/c64fix

fix reading mapping > 5 causes crc 0x0000000
This commit is contained in:
PsyK0p4T 2024-04-15 11:29:52 +02:00 committed by GitHub
commit 017da53f42
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -472,7 +472,7 @@ void readROM_C64() {
// Read 0x8002 to determine whether Single Chip or Two Chip // Read 0x8002 to determine whether Single Chip or Two Chip
// IF 0x75 OR 0x83, THEN Two Chip ELSE Single Chip // IF 0x75 OR 0x83, THEN Two Chip ELSE Single Chip
case 5: // Ocean 128K/256K/512K case 5: { // Ocean 128K/256K/512K
GAME_ENABLE; // LOW GAME_ENABLE; // LOW
EXROM_ENABLE; // LOW EXROM_ENABLE; // LOW
ROML_ENABLE; ROML_ENABLE;
@ -508,7 +508,7 @@ void readROM_C64() {
} }
disablePorts_C64(); disablePorts_C64();
break; break;
}
case 6: // Expert Cartridge (8K) case 6: // Expert Cartridge (8K)
GAME_DISABLE; // HIGH GAME_DISABLE; // HIGH
EXROM_DISABLE; // HIGH EXROM_DISABLE; // HIGH