From 19c97a392e1d3a26611748693f882c3fb0e8a0a7 Mon Sep 17 00:00:00 2001 From: zeromus Date: Thu, 29 Nov 2012 17:26:19 +0000 Subject: [PATCH] fix you ling xing dong by assigning to mapper 192 --- src/boards/mmc3.cpp | 5 ++++- src/ines-correct.h | 1 + 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/src/boards/mmc3.cpp b/src/boards/mmc3.cpp index 6f3c70cf..6b93ce78 100644 --- a/src/boards/mmc3.cpp +++ b/src/boards/mmc3.cpp @@ -736,6 +736,7 @@ void Mapper52_Init(CartInfo *info) static void M74CW(uint32 A, uint8 V) { + //printf("%04X = %02X\n",A,V); if((V==8)||(V==9)) //Di 4 Ci - Ji Qi Ren Dai Zhan (As).nes, Ji Jia Zhan Shi (As).nes setchr1r(0x10,A,V); else @@ -1030,7 +1031,9 @@ void Mapper191_Init(CartInfo *info) static void M192CW(uint32 A, uint8 V) { - if((V==8)||(V==9)||(V==0xA)||(V==0xB)) //Ying Lie Qun Xia Zhuan (Chinese), + //Ying Lie Qun Xia Zhuan (Chinese), + //You Ling Xing Dong (China) (Unl) [this will be mistakenly headered as m074 sometimes] + if((V==8)||(V==9)||(V==0xA)||(V==0xB)) setchr1r(0x10,A,V); else setchr1r(0,A,V); diff --git a/src/ines-correct.h b/src/ines-correct.h index f3f5b75b..7ee2bd67 100644 --- a/src/ines-correct.h +++ b/src/ines-correct.h @@ -191,6 +191,7 @@ {0xa9115bc1, 192, -1}, {0x4c7bbb0e, 192, -1}, {0x98c1cd4b, 192, -1}, /* Ying Lie Qun Xia Zhuan (Chinese) */ + {0xee810d55, 192, -1}, /* You Ling Xing Dong (China) (Unl) */ {0x442f1a29, 192, -1}, /* Young chivalry */ {0x637134e8, 193, 1}, /* Fighting Hero */ {0xa925226c, 194, -1}, /* Dai-2-Ji - Super Robot Taisen (As) */