Add m114.1(boogerman), m281, bmc-80013b. Update m205. Disable kt-008 hack on mmc3. Add a few games to ines-correct.h

- Support for Boogerman (SuperGame) Mapper 114, submapper 1
- Update Mapper 205 based on nesdev, move previous mapper 205 to separate GN-45 mapper with retained support to emulate OK-411
- Use nes-to-unif wrapper for some games which does not have nes 2.0 header.
- add unif board BMC-80013-B
- add mapper 281 (JY-052)
- disable KT-008 hack on mmc3. KT-008 boards should be assigned as Mapper 224. Fixes Final Fantasy X1/X2
- force-assign a few roms using ines-correct.h
This commit is contained in:
retro-wertz
2019-06-11 22:10:39 +08:00
parent e083f098e0
commit 67ae7663b8
8 changed files with 288 additions and 71 deletions

View File

@@ -295,8 +295,8 @@ static void CheckHInfo(void) {
};
int32 tofix = 0, x;
uint64 partialmd5 = 0;
int current_mapper = 0;
int cur_mirr = 0;
int32 current_mapper = 0;
int32 cur_mirr = 0;
for (x = 0; x < 8; x++)
partialmd5 |= (uint64)iNESCart.MD5[15 - x] << (x * 8);
@@ -312,10 +312,10 @@ static void CheckHInfo(void) {
VROM = NULL;
tofix |= 8;
}
if (MapperNo != (moo[x].mapper & 0xFF)) {
if (MapperNo != (moo[x].mapper & 0xFFF)) {
tofix |= 1;
current_mapper = MapperNo;
MapperNo = moo[x].mapper & 0xFF;
MapperNo = moo[x].mapper & 0xFFF;
}
}
if (moo[x].mirror >= 0) {
@@ -598,7 +598,7 @@ static BMAPPINGLocal bmap[] = {
{(uint8_t*)"", 202, Mapper202_Init},
{(uint8_t*)"", 203, Mapper203_Init},
{(uint8_t*)"", 204, Mapper204_Init},
{(uint8_t*)"", 205, Mapper205_Init},
{(uint8_t*)"BMC 15-in-1/3-in-1", 205, Mapper205_Init},
{(uint8_t*)"NAMCOT 108 Rev. C", 206, Mapper206_Init}, /* Deprecated, Used to be "DEIROM" whatever it means, but actually simple version of MMC3 */
{(uint8_t*)"TAITO X1-005 Rev. B", 207, Mapper207_Init},
{(uint8_t*)"", 208, Mapper208_Init},
@@ -650,6 +650,13 @@ static BMAPPINGLocal bmap[] = {
{(uint8_t*)"", 254, Mapper254_Init},
{(uint8_t*)"", 255, Mapper255_Init}, /* Duplicate of M225? */
{(uint8_t*)"BMC-HPxx", 260, BMCHPxx_Init},
{(uint8_t*)"UNL-SHERO", 262, UNLSHeroes_Init},
{(uint8_t*)"OK-411", 361, GN45_Init}, /* OK-411 is emulated together with GN-45 */
{(uint8_t*)"HUMMER/JY-052", 281, Mapper281_Init},
{(uint8_t*)"GN-45", 366, GN45_Init},
{(uint8_t*)"DREAMTECH01", 521, DreamTech01_Init},
{(uint8_t*)"", 0, NULL}
};