Mapper 036 - update with mirroring command used by 4-in-1 MGC-026 (not break other game though)
This commit is contained in:
parent
2841bb9374
commit
345b4e6139
|
@ -19,6 +19,7 @@
|
|||
*
|
||||
* TXC mappers, originally much complex banksitching
|
||||
*
|
||||
* P/N PRG MAP, UNIF Name
|
||||
* 01-22111-000 (05-00002-010) (132, 22211) - MGC-001 Qi Wang
|
||||
* 01-22110-000 (52S ) - MGC-002 2-in-1 Gun
|
||||
* 01-22111-100 (02-00002-010) (173 ) - MGC-008 Mahjong Block
|
||||
|
@ -27,6 +28,7 @@
|
|||
* 01-22000-400 (05-00002-010) (036 ) - MGC-015 Policeman
|
||||
* 01-22017-000 (05-PT017-080) (189 ) - MGC-017 Thunder Warrior
|
||||
* 01-11160-000 (04-02310-000) ( , 11160) - MGC-023 6-in-1
|
||||
* 01-22026-000 (05-04010-090) ( ) - MGC-026 4-in-1
|
||||
* 01-22270-000 (05-00002-010) (132, 22211) - MGC-xxx Creatom
|
||||
* 01-22200-400 (------------) (079 ) - ET.03 F-15 City War
|
||||
* (172 ) - 1991 Du Ma Racing
|
||||
|
|
|
@ -22,11 +22,12 @@
|
|||
|
||||
#include "mapinc.h"
|
||||
|
||||
static uint8 latche;
|
||||
static uint8 latche, mirr;
|
||||
|
||||
static SFORMAT StateRegs[] =
|
||||
{
|
||||
{ &latche, 1, "LATC" },
|
||||
{ &mirr, 1, "MIRR" },
|
||||
{ 0 }
|
||||
};
|
||||
|
||||
|
@ -36,6 +37,11 @@ static void Sync(void) {
|
|||
}
|
||||
|
||||
static DECLFW(M36Write) {
|
||||
|
||||
switch((A>>12)&7) { // need to 4-in-1 MGC-26 BMC, doesnt break other games though
|
||||
case 0: mirr = MI_V; setmirror(mirr); break;
|
||||
case 4: mirr = MI_H; setmirror(mirr); break;
|
||||
}
|
||||
latche = V;
|
||||
Sync();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue