X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F214.c;h=03a73ce317059ddddc6969d19f3c54bf7ee1c645;hp=deaf47d61156ab583fb2ed90e3251ef94c54b9bc;hb=386f5371eb984fb9c2860c83e740890a75cd45c1;hpb=eec2623f6183dd0f9494b99065a16bf90f2a1ccf diff --git a/mappers/214.c b/mappers/214.c index deaf47d..03a73ce 100644 --- a/mappers/214.c +++ b/mappers/214.c @@ -1,17 +1,17 @@ -#include "mapinc.h" - -static DECLFW(Mapper214_write) -{ -// FCEU_printf("%02x:%02x\n",A,V); - ROM_BANK16(0x8000,(A>>2)&3); - ROM_BANK16(0xC000,(A>>2)&3); - VROM_BANK8(A&3); -} - -void Mapper214_init(void) -{ - ROM_BANK16(0x8000,0); - ROM_BANK16(0xC000,0); - VROM_BANK8(0); - SetWriteHandler(0x8000,0xFFFF,Mapper214_write); -} +#include "mapinc.h" + +static DECLFW(Mapper214_write) +{ +// FCEU_printf("%02x:%02x\n",A,V); + ROM_BANK16(0x8000,(A>>2)&3); + ROM_BANK16(0xC000,(A>>2)&3); + VROM_BANK8(A&3); +} + +void Mapper214_init(void) +{ + ROM_BANK16(0x8000,0); + ROM_BANK16(0xC000,0); + VROM_BANK8(0); + SetWriteHandler(0x8000,0xFFFF,Mapper214_write); +}