Mapper 441: Allow PRG-RAM for AB-209.
This commit is contained in:
committed by
LibretroAdmin
parent
be3deff1db
commit
0b8ec19ffe
@@ -42,9 +42,12 @@ static void Mapper441_CHRWrap(uint32 A, uint8 V) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
static DECLFW(Mapper441_Write) {
|
static DECLFW(Mapper441_Write) {
|
||||||
if (~EXPREGS[0] &0x80) EXPREGS[0] =V;
|
if (~EXPREGS[0] &0x80) {
|
||||||
FixMMC3PRG(MMC3_cmd);
|
EXPREGS[0] =V;
|
||||||
FixMMC3CHR(MMC3_cmd);
|
FixMMC3PRG(MMC3_cmd);
|
||||||
|
FixMMC3CHR(MMC3_cmd);
|
||||||
|
}
|
||||||
|
CartBW(A, V);
|
||||||
}
|
}
|
||||||
|
|
||||||
static void Mapper441_Reset(void) {
|
static void Mapper441_Reset(void) {
|
||||||
@@ -59,7 +62,7 @@ static void Mapper441_Power(void) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Mapper441_Init(CartInfo *info) {
|
void Mapper441_Init(CartInfo *info) {
|
||||||
GenMMC3_Init(info, 256, 256, 0, 0);
|
GenMMC3_Init(info, 256, 256, 8, 0);
|
||||||
cwrap = Mapper441_CHRWrap;
|
cwrap = Mapper441_CHRWrap;
|
||||||
pwrap = Mapper441_PRGWrap;
|
pwrap = Mapper441_PRGWrap;
|
||||||
info->Power = Mapper441_Power;
|
info->Power = Mapper441_Power;
|
||||||
|
|||||||
Reference in New Issue
Block a user