KT-008 handling fix for FF Xn games. probably they are the same mapper with a set of different modes switching by specific bits (TODO, check the hardware: i have FFX games, but haven't any KT-008 games!)
This commit is contained in:
parent
8b19f0124f
commit
705f1c905c
|
@ -113,6 +113,9 @@ void MMC3RegReset(void) {
|
||||||
DRegBuf[6] = 0;
|
DRegBuf[6] = 0;
|
||||||
DRegBuf[7] = 1;
|
DRegBuf[7] = 1;
|
||||||
|
|
||||||
|
// KT-008 boards hack 2-in-1, TODO assign to new ines mapper, most dump of KT-boards on the net are mapper 4, so need database or goodnes fix support
|
||||||
|
kt_extra = 0;
|
||||||
|
|
||||||
FixMMC3PRG(0);
|
FixMMC3PRG(0);
|
||||||
FixMMC3CHR(0);
|
FixMMC3CHR(0);
|
||||||
}
|
}
|
||||||
|
@ -187,7 +190,14 @@ DECLFW(MMC3_IRQWrite) {
|
||||||
DECLFW(KT008HackWrite) {
|
DECLFW(KT008HackWrite) {
|
||||||
// FCEU_printf("%04x:%04x\n",A,V);
|
// FCEU_printf("%04x:%04x\n",A,V);
|
||||||
switch (A & 3) {
|
switch (A & 3) {
|
||||||
case 0: kt_extra = V; FixMMC3PRG(MMC3_cmd); break;
|
case 0: {
|
||||||
|
if (V == 0x27) // FF Xn hack! one more mapper in one
|
||||||
|
kt_extra = 0;
|
||||||
|
else
|
||||||
|
kt_extra = V;
|
||||||
|
FixMMC3PRG(MMC3_cmd);
|
||||||
|
break;
|
||||||
|
}
|
||||||
case 1: break; // unk
|
case 1: break; // unk
|
||||||
case 2: break; // unk
|
case 2: break; // unk
|
||||||
case 3: break; // unk
|
case 3: break; // unk
|
||||||
|
|
Loading…
Reference in New Issue