Add mapper 430

This commit is contained in:
libretroadmin
2024-06-09 18:27:44 +02:00
parent 5913eba9f2
commit 2d82ec73e6
5 changed files with 73 additions and 0 deletions

View File

@@ -70,6 +70,10 @@ void GenMMC3_Init(CartInfo *info, int prg, int chr, int wram, int battery);
* ----------------------------------------------------------------------
*/
int MMC3CanWriteToWRAM(void) {
return ((A001B & 0x80) && !(A001B & 0x40));
}
void FixMMC3PRG(int V) {
if (V & 0x40) {
pwrap(0xC000, DRegBuf[6]);