From e2f63483e21cf2c0f0bc4307d74f13c5bffb8b92 Mon Sep 17 00:00:00 2001 From: jackchatelet Date: Sun, 17 Nov 2013 15:08:48 +0000 Subject: [PATCH] added Final Fight (Bootleg set 2, World) --- src/burn/drv/capcom/d_cps1.cpp | 48 +++++++++++++++++++++++++++++++++- 1 file changed, 47 insertions(+), 1 deletion(-) diff --git a/src/burn/drv/capcom/d_cps1.cpp b/src/burn/drv/capcom/d_cps1.cpp index f3ff60a0a..5fe57601e 100644 --- a/src/burn/drv/capcom/d_cps1.cpp +++ b/src/burn/drv/capcom/d_cps1.cpp @@ -5557,6 +5557,41 @@ static struct BurnRomInfo FfightblRomDesc[] = { STD_ROM_PICK(Ffightbl) STD_ROM_FN(Ffightbl) +static struct BurnRomInfo Ffightbl2RomDesc[] = { + // This dump comes from another ffight bootleg. It contains same datas as ffightbl but reordered in smaller roms. + // Almost identical to Final Crash except for ROMs 19, 21, 23 and 25. + { "ff-09.bin", 0x020000, 0xc6854c91, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // fg-e.bin + { "ff-05.bin", 0x020000, 0x77f7c2b3, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // fg-f.bin + { "ff-08.bin", 0x020000, 0x1895b3df, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // fg-e.bin + { "ff-04.bin", 0x020000, 0xbbd411ee, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // fg-f.bin + { "ff-07.bin", 0x020000, 0x5b23ebf2, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP } ,// fg-e.bin + { "ff-03.bin", 0x020000, 0xaba2aebe, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // fg-f.bin + { "ff-06.bin", 0x020000, 0xd4bf37f6, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // fg-e.bin + { "ff-02.bin", 0x020000, 0x07ac8f43, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, // fg-f.bin + + { "ff-18.bin", 0x020000, 0xf1eee6d9, BRF_GRA | CPS1_TILES }, // fg-d.bin + { "ff-20.bin", 0x020000, 0x675f4537, BRF_GRA | CPS1_TILES }, // fg-c.bin + { "ff-22.bin", 0x020000, 0xdb8a32ac, BRF_GRA | CPS1_TILES }, // fg-b.bin + { "ff-24.bin", 0x020000, 0xf4113e57, BRF_GRA | CPS1_TILES }, // fg-a.bin + { "ff-10.bin", 0x020000, 0xd478853e, BRF_GRA | CPS1_TILES }, // fg-d.bin + { "ff-12.bin", 0x020000, 0x25055642, BRF_GRA | CPS1_TILES }, // fg-c.bin + { "ff-14.bin", 0x020000, 0xb77d0328, BRF_GRA | CPS1_TILES }, // fg-b.bin + { "ff-16.bin", 0x020000, 0xea111a79, BRF_GRA | CPS1_TILES }, // fg-a.bin + { "ff-19.bin", 0x020000, 0x7bc03747, BRF_GRA | CPS1_TILES }, // fg-d.bin + { "ff-21.bin", 0x020000, 0x0c248e2b, BRF_GRA | CPS1_TILES }, // fg-c.bin + { "ff-23.bin", 0x020000, 0x53949d0e, BRF_GRA | CPS1_TILES }, // fg-b.bin + { "ff-25.bin", 0x020000, 0x8d34a67d, BRF_GRA | CPS1_TILES }, // fg-a.bin + { "ff-11.bin", 0x020000, 0xd4457a60, BRF_GRA | CPS1_TILES }, // fg-d.bin + { "ff-13.bin", 0x020000, 0x3b26a37d, BRF_GRA | CPS1_TILES }, // fg-c.bin + { "ff-15.bin", 0x020000, 0x6d837e09, BRF_GRA | CPS1_TILES }, // fg-b.bin + { "ff-17.bin", 0x020000, 0xc59a4d6c, BRF_GRA | CPS1_TILES }, // fg-a.bin + + { "ff-01.bin", 0x020000, 0x5b276c14, BRF_PRG | CPS1_Z80_PROGRAM }, // ff1.bin +}; + +STD_ROM_PICK(Ffightbl2) +STD_ROM_FN(Ffightbl2) + static struct BurnRomInfo FcrashRomDesc[] = { { "9.bin", 0x020000, 0xc6854c91, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, { "5.bin", 0x020000, 0x77f7c2b3, BRF_ESS | BRF_PRG | CPS1_68K_PROGRAM_BYTESWAP }, @@ -12107,6 +12142,7 @@ static const struct GameConfig ConfigTable[] = { "ffightj3" , CPS_B_05 , mapper_S224B , 0, NULL }, { "ffightjh" , CPS_B_01 , mapper_S224B , 0, NULL }, { "ffightbl" , HACK_B_5 , mapper_S224B , 0, NULL }, + { "ffightbl2" , HACK_B_5 , mapper_S224B , 0, NULL }, { "fcrash" , HACK_B_5 , mapper_S224B , 0, NULL }, // doesn't really have an ID, but this used to give the relevant values to our rendering functions { "forgottn" , CPS_B_01 , mapper_LW621 , 1, NULL }, { "forgottnu" , CPS_B_01 , mapper_LW621 , 1, NULL }, @@ -16488,7 +16524,7 @@ struct BurnDriver BurnDrvCpsFfightjh = { struct BurnDriver BurnDrvCpsFfightbl = { "ffightbl", "ffight", NULL, NULL, "1990", - "Final Fight (bootleg, World)\0", NULL, "bootleg", "CPS1", + "Final Fight (bootleg set 1, World)\0", NULL, "bootleg", "CPS1", NULL, NULL, NULL, NULL, BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0, NULL, FfightblRomInfo, FfightblRomName, NULL, NULL, FfightInputInfo, FfightDIPInfo, @@ -16496,6 +16532,16 @@ struct BurnDriver BurnDrvCpsFfightbl = { &CpsRecalcPal, 0x1000, 384, 224, 4, 3 }; +struct BurnDriver BurnDrvCpsFfightbl2 = { + "ffightbl2", "ffight", NULL, NULL, "1990", + "Final Fight (bootleg set 2, World))\0", NULL, "bootleg", "CPS1", + NULL, NULL, NULL, NULL, + BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_CAPCOM_CPS1, GBF_SCRFIGHT, 0, + NULL, Ffightbl2RomInfo, Ffightbl2RomName, NULL, NULL, FfightInputInfo, FfightDIPInfo, + FcrashInit, DrvExit, Cps1Frame, CpsRedraw, CpsAreaScan, + &CpsRecalcPal, 0x1000, 384, 224, 4, 3 +}; + struct BurnDriver BurnDrvCpsFcrash = { "fcrash", "ffight", NULL, NULL, "1990", "Final Crash (bootleg (with 2xYM2203 + 2xMSM5205))\0", NULL, "Playmark", "CPS1",