X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=fceu.git;a=blobdiff_plain;f=mappers%2F213.c;h=c537f6c2673780b33419690da81b41a47da023e2;hp=e0b8d82a5b7b93abc7fcb6eb77a77de6dc55a55a;hb=e2d0dd92bfad989cce4270fc0ac5a712476c7c50;hpb=971a1d07d2f5b5a6f991ed5712275c04b933734f diff --git a/mappers/213.c b/mappers/213.c index e0b8d82..c537f6c 100644 --- a/mappers/213.c +++ b/mappers/213.c @@ -1,14 +1,14 @@ -#include "mapinc.h" - -static DECLFW(Mapper213_write) -{ - ROM_BANK32((A>>1)&3); - VROM_BANK8((A>>3)&7); -} - -void Mapper213_init(void) -{ - ROM_BANK32(0); - VROM_BANK8(0); - SetWriteHandler(0x8000,0xFFFF,Mapper213_write); -} +#include "mapinc.h" + +static DECLFW(Mapper213_write) +{ + ROM_BANK32((A>>1)&3); + VROM_BANK8((A>>3)&7); +} + +void Mapper213_init(void) +{ + ROM_BANK32(0); + VROM_BANK8(0); + SetWriteHandler(0x8000,0xFFFF,Mapper213_write); +}