From 559f30e5045139f91c46b3f965cc4fea85ba6859 Mon Sep 17 00:00:00 2001 From: Barry Harris <44396066+barry65536@users.noreply.github.com> Date: Sat, 6 Jul 2013 07:39:10 +0000 Subject: [PATCH] Added bootleg of Snow Bros. (Barry, JacKc, The Dumping Union, Haze) --- src/burn/drv/pst90s/d_hyperpac.cpp | 43 +++++++++++++++++++++++++++--- 1 file changed, 40 insertions(+), 3 deletions(-) diff --git a/src/burn/drv/pst90s/d_hyperpac.cpp b/src/burn/drv/pst90s/d_hyperpac.cpp index 681f8d097..9ccad204f 100644 --- a/src/burn/drv/pst90s/d_hyperpac.cpp +++ b/src/burn/drv/pst90s/d_hyperpac.cpp @@ -1073,6 +1073,28 @@ static struct BurnRomInfo WintbobRomDesc[] = { STD_ROM_PICK(Wintbob) STD_ROM_FN(Wintbob) +static struct BurnRomInfo SnowbroswbRomDesc[] = { + { "toa03.bin", 0x10000, 0x55d302da, BRF_ESS | BRF_PRG }, // 0 68000 Program Code + { "toa01.bin", 0x10000, 0x3c64e145, BRF_ESS | BRF_PRG }, // 1 68000 Program Code + { "wb04.bin", 0x10000, 0x53be758d, BRF_ESS | BRF_PRG }, // 2 68000 Program Code + { "wb02.bin", 0x10000, 0xfc8e292e, BRF_ESS | BRF_PRG }, // 3 68000 Program Code + + { "wb13.bin", 0x10000, 0x426921de, BRF_GRA }, // 4 Sprites + { "wb06.bin", 0x10000, 0x68204937, BRF_GRA }, // 5 Sprites + { "wb12.bin", 0x10000, 0xef4e04c7, BRF_GRA }, // 6 Sprites + { "wb07.bin", 0x10000, 0x53f40978, BRF_GRA }, // 7 Sprites + { "wb11.bin", 0x10000, 0x41cb4563, BRF_GRA }, // 8 Sprites + { "wb08.bin", 0x10000, 0x9497b88c, BRF_GRA }, // 9 Sprites + { "wb10.bin", 0x10000, 0x5fa22b1e, BRF_GRA }, // 10 Sprites + { "wb09.bin", 0x10000, 0x9be718ca, BRF_GRA }, // 11 Sprites + + { "wb05.bin", 0x10000, 0x53fe59df, BRF_SND }, // 12 Z80 Program Code +}; + + +STD_ROM_PICK(Snowbroswb) +STD_ROM_FN(Snowbroswb) + static struct BurnRomInfo Snowbro3RomDesc[] = { { "ur4", 0x020000, 0x19c13ffd, BRF_ESS | BRF_PRG }, // 0 68000 Program Code { "ur3", 0x020000, 0x3f32fa15, BRF_ESS | BRF_PRG }, // 1 68000 Program Code @@ -2614,8 +2636,6 @@ static INT32 SnowbrosInit() BurnSetRefreshRate(57.5); - if (!strcmp(BurnDrvGetTextA(DRV_NAME), "wintbob")) Wintbob = 1; - HyperpacNumTiles = 4096; // Allocate and Blank all required memory @@ -2700,6 +2720,13 @@ static INT32 SnowbrosInit() return 0; } +static INT32 WintbobInit() +{ + Wintbob = 1; + + return SnowbrosInit(); +} + static INT32 Snowbro3Init() { INT32 nRet = 0, nLen; @@ -4114,7 +4141,17 @@ struct BurnDriver BurnDrvWintbob = { NULL, NULL, NULL, NULL, BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_MISC_POST90S, GBF_PLATFORM, 0, NULL, WintbobRomInfo, WintbobRomName, NULL, NULL, SnowbrosInputInfo, SnowbrosDIPInfo, - SnowbrosInit, SnowbrosExit, SnowbrosFrame, NULL, SnowbrosScan, + WintbobInit, SnowbrosExit, SnowbrosFrame, NULL, SnowbrosScan, + NULL, 0x200, 256, 224, 4, 3 +}; + +struct BurnDriver BurnDrvSnowbroswb = { + "snowbroswb", "snowbros", NULL, NULL, "1990", + "Snow Bros. - Nick & Tom (The Winter Bobble hardware bootleg)\0", NULL, "bootleg", "Kaneko Pandora based", + NULL, NULL, NULL, NULL, + BDF_GAME_WORKING | BDF_CLONE | BDF_BOOTLEG, 2, HARDWARE_MISC_POST90S, GBF_PLATFORM, 0, + NULL, SnowbroswbRomInfo, SnowbroswbRomName, NULL, NULL, SnowbrosInputInfo, SnowbrosDIPInfo, + WintbobInit, SnowbrosExit, SnowbrosFrame, NULL, SnowbrosScan, NULL, 0x200, 256, 224, 4, 3 };