Skip to content

Commit

Permalink
Merge branch 'finalburnneo-master'
Browse files Browse the repository at this point in the history
  • Loading branch information
barbudreadmon committed Jun 15, 2020
2 parents e86fc47 + f20b847 commit 21d1643
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 2 deletions.
37 changes: 37 additions & 0 deletions src/burn/drv/cps3/d_cps3.cpp
Expand Up @@ -29,6 +29,8 @@

#include "cps3.h"

#define LESS_ACCURATE 0

static struct BurnInputInfo cps3InputList[] = {
{"P1 Coin", BIT_DIGITAL, Cps3But2 + 8, "p1 coin" },
{"P1 Start", BIT_DIGITAL, Cps3But2 + 12, "p1 start" },
Expand Down Expand Up @@ -199,42 +201,77 @@ static struct BurnDIPInfo japanRegionDIPList[] = {

// Defaults
{0x1B, 0xFF, 0xFF, 0x01, NULL},
#if LESS_ACCURATE
{0x1C, 0xFF, 0xFF, 0x01, NULL},
#else
{0x1C, 0xFF, 0xFF, 0x00, NULL},
#endif
};

static struct BurnDIPInfo asiaRegionDIPList[] = {

// Defaults
{0x1B, 0xFF, 0xFF, 0x02, NULL},
#if LESS_ACCURATE
{0x1C, 0xFF, 0xFF, 0x01, NULL},
#else
{0x1C, 0xFF, 0xFF, 0x00, NULL},
#endif
};

static struct BurnDIPInfo euroRegionDIPList[] = {

// Defaults
{0x1B, 0xFF, 0xFF, 0x03, NULL},
#if LESS_ACCURATE
{0x1C, 0xFF, 0xFF, 0x01, NULL},
#else
{0x1C, 0xFF, 0xFF, 0x00, NULL},
#endif
};

static struct BurnDIPInfo usaRegionDIPList[] = {

// Defaults
{0x1B, 0xFF, 0xFF, 0x04, NULL},
#if LESS_ACCURATE
{0x1C, 0xFF, 0xFF, 0x01, NULL},
#else
{0x1C, 0xFF, 0xFF, 0x00, NULL},
#endif
};

static struct BurnDIPInfo hispanicRegionDIPList[] = {

// Defaults
{0x1B, 0xFF, 0xFF, 0x05, NULL},
#if LESS_ACCURATE
{0x1C, 0xFF, 0xFF, 0x01, NULL},
#else
{0x1C, 0xFF, 0xFF, 0x00, NULL},
#endif
};

static struct BurnDIPInfo euroRedeartnDIPList[] = {

// Defaults
{0x1B, 0xFF, 0xFF, 0x53, NULL},
#if LESS_ACCURATE
{0x1C, 0xFF, 0xFF, 0x01, NULL},
#else
{0x1C, 0xFF, 0xFF, 0x00, NULL},
#endif
};

static struct BurnDIPInfo japanwarzardDIPList[] = {

// Defaults
{0x1B, 0xFF, 0xFF, 0x51, NULL},
#if LESS_ACCURATE
{0x1C, 0xFF, 0xFF, 0x01, NULL},
#else
{0x1C, 0xFF, 0xFF, 0x00, NULL},
#endif
};

STDDIPINFOEXT(japan, region, japanRegion)
Expand Down
4 changes: 2 additions & 2 deletions src/burn/drv/megadrive/megadrive.cpp
Expand Up @@ -3361,8 +3361,8 @@ INT32 MegadriveInit()
RamMisc->SRamActive = 0;
}

if (strstr(BurnDrvGetTextA(DRV_NAME), "forgottn")) {
bprintf(0, _T("Forced 3-button mode for Forgotten Worlds!\n"));
if (strstr(BurnDrvGetTextA(DRV_NAME), "forgottn") || strstr(BurnDrvGetTextA(DRV_NAME), "ustrike")) {
bprintf(0, _T("Forced 3-button mode for Forgotten Worlds, Urban Strike!\n"));
bForce3Button = 1;
}

Expand Down
36 changes: 36 additions & 0 deletions src/burn/drv/neogeo/d_neogeo.cpp
Expand Up @@ -18755,4 +18755,40 @@ struct BurnDriver BurnDrvK2k2ps2re1 = {
NULL, K2k2ps2re1RomInfo, K2k2ps2re1RomName, NULL, NULL, NULL, NULL, neogeoInputInfo, neoaesjapanDIPInfo,
K2k2ps2re1Init, K2k2ps2re1Exit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
0x1000, 304, 224, 4, 3
};

// Samurai Shodown V Special / Samurai Spirits Zero Special (NGM-272) (NGH-272) (Final Edition, location test version)

static struct BurnRomInfo samsh5feRomDesc[] = {
{ "272-p1.bin", 0x400000, 0x9e72cc83, 1 | BRF_ESS | BRF_PRG }, // 0 68K code
{ "272-p2.bin", 0x400000, 0x1f5469bc, 1 | BRF_ESS | BRF_PRG }, // 1

{ "272-s1.bin", 0x020000, 0xc297f973, 2 | BRF_GRA }, // 1 Text layer tiles

{ "272-c1d.bin", 0x800000, 0xec9fda8d, 3 | BRF_GRA }, // 2 Sprite data
{ "272-c2d.bin", 0x800000, 0xd2fc888d, 3 | BRF_GRA }, // 3
{ "272-c3d.bin", 0x800000, 0xb0ea781b, 3 | BRF_GRA }, // 4
{ "272-c4d.bin", 0x800000, 0xd34ac591, 3 | BRF_GRA }, // 5
{ "272-c5d.bin", 0x800000, 0x1b5c1ea2, 3 | BRF_GRA }, // 6
{ "272-c6d.bin", 0x800000, 0xdeeaad58, 3 | BRF_GRA }, // 7
{ "272-c7d.bin", 0x800000, 0xdce0119f, 3 | BRF_GRA }, // 8
{ "272-c8d.bin", 0x800000, 0x3bf256c5, 3 | BRF_GRA }, // 9

{ "272-m1d.bin", 0x080000, 0x203d744e, 4 | BRF_ESS | BRF_PRG }, // 10 Z80 code

{ "272-v1d.bin", 0x800000, 0x3bf61586, 5 | BRF_SND }, // 11 Sound data
{ "272-v2d.bin", 0x800000, 0x95fe7646, 5 | BRF_SND }, // 12
};

STDROMPICKEXT(samsh5fe, samsh5fe, neogeo)
STD_ROM_FN(samsh5fe)

struct BurnDriver BurnDrvsamsh5fe = {
"samsh5fe", "samsh5sp", "neogeo", NULL, "2004",
"Samurai Shodown V Special / Samurai Spirits Zero Special (NGM-272) (NGH-272) (Final Edition, location test version)\0", NULL, "Yuki Enterprise / SNK Playmore", "Neo Geo MVS",
L"Samurai Shodown V Special\0\u30B5\u30E0\u30E9\u30A4\u30B9\u30D4\u30EA\u30C3\u30C4\u96F6 Special (NGM-272) (NGH-272)(Final Edition, location test version)\0", NULL, NULL, NULL,
BDF_GAME_WORKING | BDF_CLONE | BDF_HACK, 2, HARDWARE_PREFIX_CARTRIDGE | HARDWARE_SNK_NEOGEO, GBF_VSFIGHT, FBF_SAMSHO,
NULL, samsh5feRomInfo, samsh5feRomName, NULL, NULL, NULL, NULL, neogeoInputInfo, neogeoDIPInfo,
NeoInit, NeoExit, NeoFrame, NeoRender, NeoScan, &NeoRecalcPalette,
0x1000, 304, 224, 4, 3
};

0 comments on commit 21d1643

Please sign in to comment.