From f2de7bfb9ead0c8f14a4691f4dc9a3a9f7264665 Mon Sep 17 00:00:00 2001 From: Barry Harris <44396066+barry65536@users.noreply.github.com> Date: Fri, 22 Jun 2012 19:12:34 +0000 Subject: [PATCH] Sync dkong sets with MAME 0.146u1 --- src/burn/drv/d_parent.cpp | 69 +++++++++++++++++++++++++++++++++ src/burn/drv/pre90s/d_dkong.cpp | 8 +++- 2 files changed, 75 insertions(+), 2 deletions(-) diff --git a/src/burn/drv/d_parent.cpp b/src/burn/drv/d_parent.cpp index 1a334e4f3..48e7de0a7 100644 --- a/src/burn/drv/d_parent.cpp +++ b/src/burn/drv/d_parent.cpp @@ -158,6 +158,40 @@ struct BurnDriver BurnDrvEightballact = { NULL, 0, 256, 224, 4, 3 }; +static struct BurnRomInfo HeroRomDesc[] = { + { "hr-gp1.bin", 0x01000, 0x82f39788, BRF_ESS | BRF_PRG }, + { "hr-gp2.bin", 0x01000, 0x79607812, BRF_ESS | BRF_PRG }, + { "hr-gp3.bin", 0x01000, 0x2902715c, BRF_ESS | BRF_PRG }, + { "hr-gp4.bin", 0x01000, 0x696d2f8e, BRF_ESS | BRF_PRG }, + { "hr-gp5.bin", 0x01000, 0x936a4ba6, BRF_ESS | BRF_PRG }, + + { "hr-sdp1.bin", 0x00800, 0xc34ecf79, BRF_ESS | BRF_PRG }, + + { "hr-sp1.bin", 0x00800, 0xa5c33cb1, BRF_SND }, + + { "hr-cp1.bin", 0x00800, 0x2d201496, BRF_GRA }, + { "hr-cp2.bin", 0x00800, 0x21b61fe3, BRF_GRA }, + { "hr-cp3.bin", 0x00800, 0x9c8e3f9e, BRF_GRA }, + + { "5b.bin", 0x00800, 0xf055a624, BRF_SND }, + + { "82s185.10h", 0x00800, 0xc205bca6, BRF_GRA }, + { "82s123.10k", 0x00020, 0xb5221cec, BRF_GRA }, +}; + +STD_ROM_PICK(Hero) +STD_ROM_FN(Hero) + +struct BurnDriver BurnDrvHero = { + "hero", NULL, NULL, NULL, "1984", + "Hero\0", "Parent set for working drivers", "Century Electronics / Seatongrove Ltd", "Miscellaneous", + NULL, NULL, NULL, NULL, + 0, 2, HARDWARE_MISC_PRE90S, GBF_PLATFORM, 0, + NULL, HeroRomInfo, HeroRomName, NULL, NULL, ParentInputInfo, NULL, + ParentInit, ParentExit, NULL, NULL, NULL, + NULL, 0, 224, 256, 3, 4 +}; + static struct BurnRomInfo HunchbakRomDesc[] = { { "hb-gp1.bin", 0x01000, 0xaf801d54, BRF_ESS | BRF_PRG }, { "hb-gp2.bin", 0x01000, 0xb448cc8e, BRF_ESS | BRF_PRG }, @@ -249,6 +283,41 @@ struct BurnDriver BurnDrvManiacsq = { NULL, 0, 256, 224, 4, 3 }; +static struct BurnRomInfo MarioRomDesc[] = { + { "tma1-c-7f_f.7f", 0x02000, 0xc0c6e014, BRF_ESS | BRF_PRG }, + { "tma1-c-7e_f.7e", 0x02000, 0x94fb60d6, BRF_ESS | BRF_PRG }, + { "tma1-c-7d_f.7d", 0x02000, 0xdcceb6c1, BRF_ESS | BRF_PRG }, + { "tma1-c-7c_f.7c", 0x02000, 0x4a63d96b, BRF_ESS | BRF_PRG }, + + { "tma1-c-6k_e.6k", 0x01000, 0x06b9ff85, BRF_ESS | BRF_PRG }, + + { "tma1-v-3f.3f", 0x01000, 0x28b0c42c, BRF_GRA }, + { "tma1-v-3j.3j", 0x01000, 0x0c8cc04d, BRF_GRA }, + + { "tma1-v-7m.7m", 0x01000, 0x22b7372e, BRF_GRA }, + { "tma1-v-7n.7n", 0x01000, 0x4f3a1f47, BRF_GRA }, + { "tma1-v-7p.7p", 0x01000, 0x56be6ccd, BRF_GRA }, + { "tma1-v-7s.7s", 0x01000, 0x56f1d613, BRF_GRA }, + { "tma1-v-7t.7t", 0x01000, 0x641f0008, BRF_GRA }, + { "tma1-v-7u.7u", 0x01000, 0x7baf5309, BRF_GRA }, + + { "tma1-c-4p_1.4p", 0x00200, 0x8187d286, BRF_GRA }, + { "tma1-c-5p.5p", 0x00200, 0x58d86098, BRF_GRA }, +}; + +STD_ROM_PICK(Mario) +STD_ROM_FN(Mario) + +struct BurnDriver BurnDrvMario = { + "mario", NULL, NULL, NULL, "1983", + "Mario Bros. (US, Revision F)\0", "Parent set for working drivers", "Nintendo of America", "Miscellaneous", + NULL, NULL, NULL, NULL, + 0, 2, HARDWARE_MISC_PRE90S, GBF_PLATFORM, 0, + NULL, MarioRomInfo, MarioRomName, NULL, NULL, ParentInputInfo, NULL, + ParentInit, ParentExit, NULL, NULL, NULL, + NULL, 0, 224, 256, 3, 4 +}; + static struct BurnRomInfo PhoenixRomDesc[] = { { "ic45", 0x00800, 0x9f68086b, BRF_ESS | BRF_PRG }, { "ic46", 0x00800, 0x273a4a82, BRF_ESS | BRF_PRG }, diff --git a/src/burn/drv/pre90s/d_dkong.cpp b/src/burn/drv/pre90s/d_dkong.cpp index 20b4637bc..cf03a8e5a 100644 --- a/src/burn/drv/pre90s/d_dkong.cpp +++ b/src/burn/drv/pre90s/d_dkong.cpp @@ -1909,11 +1909,13 @@ STD_ROM_PICK(dkong) STD_ROM_FN(dkong) static struct BurnSampleInfo DkongSampleDesc[] = { +#if !defined (ROM_VERIFY) { "run01.wav", SAMPLE_NOLOOP }, { "run02.wav", SAMPLE_NOLOOP }, { "run03.wav", SAMPLE_NOLOOP }, { "jump.wav", SAMPLE_NOLOOP }, { "dkstomp.wav", SAMPLE_NOLOOP }, +#endif { "", 0 } }; @@ -2299,6 +2301,7 @@ STD_ROM_PICK(dkongjr) STD_ROM_FN(dkongjr) static struct BurnSampleInfo DkongjrSampleDesc[] = { +#if !defined (ROM_VERIFY) { "jump.wav", SAMPLE_NOLOOP }, { "land.wav", SAMPLE_NOLOOP }, { "roar.wav", SAMPLE_NOLOOP }, @@ -2311,6 +2314,7 @@ static struct BurnSampleInfo DkongjrSampleDesc[] = { { "walk1.wav", SAMPLE_NOLOOP }, { "walk2.wav", SAMPLE_NOLOOP }, { "snapjaw.wav", SAMPLE_NOLOOP }, +#endif { "", 0 } }; @@ -2675,10 +2679,10 @@ static INT32 pestplceInit() } struct BurnDriverD BurnDrvPestplce = { - "pestplce", NULL, NULL, NULL, "1983", + "pestplce", "mario", NULL, NULL, "1983", "Pest Place\0", NULL, "bootleg", "Miscellaneous", NULL, NULL, NULL, NULL, - BDF_GAME_WORKING | BDF_ORIENTATION_FLIPPED, 2, HARDWARE_MISC_PRE90S, GBF_PLATFORM, 0, + BDF_GAME_WORKING | BDF_CLONE | BDF_ORIENTATION_FLIPPED, 2, HARDWARE_MISC_PRE90S, GBF_PLATFORM, 0, NULL, pestplceRomInfo, pestplceRomName, NULL, NULL, PestplceInputInfo, PestplceDIPInfo, pestplceInit, DrvExit, DrvFrame, pestplceDraw, NULL, &DrvRecalc, 0x100, 256, 224, 4, 3