mirror of
https://github.com/dborth/fceugx.git
synced 2024-11-01 15:05:05 +01:00
15 lines
228 B
C++
15 lines
228 B
C++
|
#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);
|
||
|
}
|