From 6afa46dbe6def8a5fe831739c678e488e7f01a9d Mon Sep 17 00:00:00 2001 From: jackchatelet Date: Sun, 29 Mar 2015 18:13:25 +0000 Subject: [PATCH] Added Super Puzzle Fighter II Turbo (Euro 960529) [fluxcore, idc/Team Avalaunch] --- src/burn/drv/capcom/cps2_crpt.cpp | 3 ++- src/burn/drv/capcom/d_cps2.cpp | 35 ++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/burn/drv/capcom/cps2_crpt.cpp b/src/burn/drv/capcom/cps2_crpt.cpp index 207f6d1ef..485f8b2f5 100644 --- a/src/burn/drv/capcom/cps2_crpt.cpp +++ b/src/burn/drv/capcom/cps2_crpt.cpp @@ -930,7 +930,8 @@ static const struct game_keys keys_table[] = { "sfz2alj", { 0x99450c88,0xa00a2c4d }, 0x100000 }, // 0C80 8E73 9110 cmpi.l #$8E739110,D0 { "sfz2alh", { 0x95f15b7c,0x200c08c6 }, 0x100000 }, // 0C80 8E73 9110 cmpi.l #$8E739110,D0 { "sfz2alb", { 0x73cd4a28,0xff83af1c }, 0x100000 }, // 0C80 8E73 9110 cmpi.l #$8E739110,D0 - { "spf2t", { 0x706a8750,0x7d0fc185 }, 0x040000 }, // 0C80 3039 9819 cmpi.l #$30399819,D0 + { "spf2t", { 0xdde26f09,0x55821ee7 }, 0x040000 }, // 0C80 3039 9819 cmpi.l #$30399819,D0 + { "spf2tu", { 0x706a8750,0x7d0fc185 }, 0x040000 }, // 0C80 3039 9819 cmpi.l #$30399819,D0 { "spf2xj", { 0xb12c835a,0xe90976ff }, 0x040000 }, // 0C80 3039 9819 cmpi.l #$30399819,D0 { "spf2ta", { 0x9c48e1ab,0xd60f34fb }, 0x040000 }, // 0C80 3039 9819 cmpi.l #$30399819,D0 { "spf2th", { 0x51ed8cab,0x228f85b6 }, 0x040000 }, // 0C80 3039 9819 cmpi.l #$30399819,D0 diff --git a/src/burn/drv/capcom/d_cps2.cpp b/src/burn/drv/capcom/d_cps2.cpp index e370cd27c..36e50578b 100644 --- a/src/burn/drv/capcom/d_cps2.cpp +++ b/src/burn/drv/capcom/d_cps2.cpp @@ -5864,8 +5864,8 @@ STD_ROM_PICK(Sgemfh) STD_ROM_FN(Sgemfh) static struct BurnRomInfo Spf2tRomDesc[] = { - { "pzfu.03a", 0x080000, 0x346e62ef, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, - { "pzf.04", 0x080000, 0xb80649e2, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + { "pzfe.03", 0x080000, 0x2af51954, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + { "pzf.04", 0x080000, 0xb80649e2, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, // marked pzfe.04 but same as pzf.04 { "pzf.14m", 0x100000, 0x2d4881cb, CPS2_GFX | BRF_GRA }, { "pzf.16m", 0x100000, 0x4b0fd1be, CPS2_GFX | BRF_GRA }, @@ -5882,6 +5882,25 @@ static struct BurnRomInfo Spf2tRomDesc[] = { STD_ROM_PICK(Spf2t) STD_ROM_FN(Spf2t) +static struct BurnRomInfo Spf2tuRomDesc[] = { + { "pzfu.03a", 0x080000, 0x346e62ef, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + { "pzf.04", 0x080000, 0xb80649e2, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, + + { "pzf.14m", 0x100000, 0x2d4881cb, CPS2_GFX | BRF_GRA }, + { "pzf.16m", 0x100000, 0x4b0fd1be, CPS2_GFX | BRF_GRA }, + { "pzf.18m", 0x100000, 0xe43aac33, CPS2_GFX | BRF_GRA }, + { "pzf.20m", 0x100000, 0x7f536ff1, CPS2_GFX | BRF_GRA }, + + { "pzf.01", 0x020000, 0x600fb2a3, CPS2_PRG_Z80 | BRF_ESS | BRF_PRG }, + { "pzf.02", 0x020000, 0x496076e0, CPS2_PRG_Z80 | BRF_ESS | BRF_PRG }, + + { "pzf.11m", 0x200000, 0x78442743, CPS2_QSND | BRF_SND }, + { "pzf.12m", 0x200000, 0x399d2c7b, CPS2_QSND | BRF_SND }, +}; + +STD_ROM_PICK(Spf2tu) +STD_ROM_FN(Spf2tu) + static struct BurnRomInfo Spf2taRomDesc[] = { { "pzfa.03", 0x080000, 0x3cecfa78, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, { "pzf.04", 0x080000, 0xb80649e2, CPS2_PRG_68K | BRF_ESS | BRF_PRG }, @@ -9500,7 +9519,7 @@ struct BurnDriver BurnDrvCpsSgemfh = { struct BurnDriver BurnDrvCpsSpf2t = { "spf2t", NULL, NULL, NULL, "1996", - "Super Puzzle Fighter II Turbo (Super Puzzle Fighter 2 Turbo 960620 USA)\0", NULL, "Capcom", "CPS2", + "Super Puzzle Fighter II Turbo (Super Puzzle Fighter 2 Turbo 960529 Euro)\0", NULL, "Capcom", "CPS2", NULL, NULL, NULL, NULL, BDF_GAME_WORKING, 2, HARDWARE_CAPCOM_CPS2, GBF_PUZZLE, FBF_SF, NULL, Spf2tRomInfo, Spf2tRomName, NULL, NULL, Spf2tInputInfo, NULL, @@ -9508,6 +9527,16 @@ struct BurnDriver BurnDrvCpsSpf2t = { &CpsRecalcPal, 0x1000, 384, 224, 4, 3 }; +struct BurnDriver BurnDrvCpsSpf2tu = { + "spf2tu", "spf2t", NULL, NULL, "1996", + "Super Puzzle Fighter II Turbo (Super Puzzle Fighter 2 Turbo 960620 USA)\0", NULL, "Capcom", "CPS2", + NULL, NULL, NULL, NULL, + BDF_GAME_WORKING | BDF_CLONE, 2, HARDWARE_CAPCOM_CPS2, GBF_PUZZLE, FBF_SF, + NULL, Spf2tuRomInfo, Spf2tuRomName, NULL, NULL, Spf2tInputInfo, NULL, + Cps2Init, DrvExit, Cps2Frame, CpsRedraw, CpsAreaScan, + &CpsRecalcPal, 0x1000, 384, 224, 4, 3 +}; + struct BurnDriver BurnDrvCpsSpf2xj = { "spf2xj", "spf2t", NULL, NULL, "1996", "Super Puzzle Fighter II X (Super Puzzle Fighter 2 X 960531 Japan)\0", NULL, "Capcom", "CPS2",