mapper cleanups (#494)

* m215: Fix support for submapper 1 cart

* Switch UNL43272 to new Mapper242 implementation

* Merge mappers BMC-70in1/B and 236

* Merge 58/213/GK-192

* Assign GS-2004/GS-2014 to mapper 283

* Cleanup

Co-authored-by: negativeExponent <negativeExponent@users.noreply.github.com>
This commit is contained in:
negativeExponent
2022-02-05 10:19:33 -08:00
committed by GitHub
parent ffff495072
commit 17ad461e7d
10 changed files with 86 additions and 333 deletions

View File

@@ -427,11 +427,11 @@ static BMAPPING bmap[] = {
{ "3D-BLOCK", 355, UNL3DBlock_Init, 0 },
{ "411120-C", 287, BMC411120C_Init, 0 },
{ "42in1ResetSwitch", 233, Mapper233_Init, 0 },
{ "43272", 227, UNL43272_Init, 0 },
{ "43272", 242, Mapper242_Init, 0 },
{ "603-5052", 238, UNL6035052_Init, 0 },
{ "64in1NoRepeat", 314, BMC64in1nr_Init, 0 },
{ "70in1", 236, BMC70in1_Init, 0 },
{ "70in1B", 236, BMC70in1B_Init, 0 },
{ "70in1", 236, Mapper236_Init, 0 },
{ "70in1B", 236, Mapper236_Init, 0 },
{ "810544-C-A1", 261, BMC810544CA1_Init, 0 },
{ "8157", 301, UNL8157_Init, 0 },
{ "8237", 215, UNL8237_Init, 0 },
@@ -439,6 +439,8 @@ static BMAPPING bmap[] = {
{ "830118C", 348, BMC830118C_Init, 0 },
{ "A65AS", 285, BMCA65AS_Init, 0 },
{ "AB-G1L", 428, Mapper428_Init, 0 },
{ "WELL-NO-DG450", 428, Mapper428_Init, 0 },
{ "TF2740", 428, Mapper428_Init, 0 },
{ "AC08", 42, AC08_Init, 0 },
{ "ANROM", 7, ANROM_Init, 0 },
{ "AX5705", 530, UNLAX5705_Init, 0 },
@@ -464,14 +466,15 @@ static BMAPPING bmap[] = {
{ "FK23CA", 176, BMCFK23CA_Init, BMCFLAG_256KCHRR },
{ "FS304", 162, Mapper162_Init, 0 },
{ "G-146", 349, BMCG146_Init, 0 },
{ "GK-192", NO_INES, BMCGK192_Init, 0 }, /* mapper 58? */
{ "GS-2004", 283, BMCGS2004_Init, 0 },
{ "GS-2013", 283, BMCGS2013_Init, 0 },
{ "GK-192", 58, Mapper58_Init, 0 },
{ "GS-2004", 283, Mapper283_Init, 0 },
{ "GS-2013", 283, Mapper283_Init, 0 },
{ "Ghostbusters63in1", 226, Mapper226_Init, 0 },
{ "G631", 226, Mapper226_Init, 0 }, /* duplicate, probably wrong name */
{ "H2288", 123, UNLH2288_Init, 0 },
{ "HKROM", 4, HKROM_Init, 0 },
{ "KOF97", 263, UNLKOF97_Init, 0 },
{ "KONAMI-QTAI", NO_INES, Mapper190_Init, 0 },
/* { "KONAMI-QTAI", NO_INES, Mapper190_Init, 0 }, */
{ "KS7012", 346, UNLKS7012_Init, 0 },
{ "KS7013B", 312, UNLKS7013B_Init, 0 },
{ "KS7016", 306, UNLKS7016_Init, 0 },
@@ -559,10 +562,9 @@ static BMAPPING bmap[] = {
{ "UNROM-512-32", 30, UNROM512_Init, BMCFLAG_32KCHRR },
{ "UOROM", 2, UNROM_Init, 0 },
{ "VRC7", 85, UNLVRC7_Init, 0 },
{ "WELL-NO-DG450", 428, Mapper428_Init, 0 },
{ "TF2740", 428, Mapper428_Init, 0 },
{ "YOKO", 264, UNLYOKO_Init, 0 },
{ "COOLBOY", 268, COOLBOY_Init, BMCFLAG_256KCHRR },
{ "MINDKIDS", 268, MINDKIDS_Init, BMCFLAG_256KCHRR },
{ "158B", 258, UNL158B_Init, 0 },
{ "DRAGONFIGHTER", 292, UNLBMW8544_Init, 0 },
{ "EH8813A", 519, UNLEH8813A_Init, 0 },
@@ -593,14 +595,12 @@ static BMAPPING bmap[] = {
{ "SA005-A", 338, BMCSA005A_Init, 0 },
{ "K-3006", 339, BMCK3006_Init, 0 },
{ "K-3036", 340, BMCK3036_Init, 0 },
{ "MINDKIDS", 268, MINDKIDS_Init, BMCFLAG_256KCHRR },
{ "KS7021A", 525, UNLKS7021A_Init, 0 },
{ "KS106C", NO_INES, BMCKS106C_Init, 0 }, /* split roms */
{ "900218", 524, BTL900218_Init, 0 },
{ "JC-016-2", 205, Mapper205_Init, 0 },
{ "AX-40G", 527, UNLAX40G_Init, 0 },
{ "STREETFIGTER-GAME4IN1", NO_INES, BMCSFGAME4IN1_Init, 0 }, /* mapper 49? submapper 1*/
{ "G631", 226, Mapper226_Init, 0 }, /* duplicate, probably wrong name */
{ "BJ-56", 526, UNLBJ56_Init, 0 },
{ "L6IN1", 345, BMCL6IN1_Init, 0 },
{ "CTC-12IN1", 337, BMCCTC12IN1_Init, 0 },