mirror of
https://github.com/libretro/FBNeo.git
synced 2024-11-27 11:00:27 +00:00
ESP Ra.De. v-sound mixer le. fin
This commit is contained in:
parent
7c548ccb06
commit
54bba0f427
@ -7,6 +7,7 @@
|
||||
static UINT8 DrvJoy1[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
static UINT8 DrvJoy2[10] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0};
|
||||
static UINT16 DrvInput[2] = {0x0000, 0x0000};
|
||||
static UINT8 DrvDips[1];
|
||||
|
||||
static UINT8 *Mem = NULL, *MemEnd = NULL;
|
||||
static UINT8 *RamStart, *RamEnd;
|
||||
@ -55,10 +56,23 @@ static struct BurnInputInfo espradeInputList[] = {
|
||||
{"Reset", BIT_DIGITAL, &DrvReset, "reset"},
|
||||
{"Diagnostics", BIT_DIGITAL, DrvJoy1 + 9, "diag"},
|
||||
{"Service", BIT_DIGITAL, DrvJoy2 + 9, "service"},
|
||||
{"Dip A", BIT_DIPSWITCH, DrvDips + 0, "dip"},
|
||||
};
|
||||
|
||||
STDINPUTINFO(esprade)
|
||||
|
||||
static struct BurnDIPInfo espradeDIPList[]=
|
||||
{
|
||||
{0x15, 0xff, 0xff, 0x08, NULL },
|
||||
|
||||
{0 , 0xfe, 0 , 2, "Virtual Mixer (ymz280b)"},
|
||||
{0x15, 0x01, 0x08, 0x08, "On" },
|
||||
{0x15, 0x01, 0x08, 0x00, "Off" },
|
||||
};
|
||||
|
||||
STDDIPINFO(esprade)
|
||||
|
||||
|
||||
static void UpdateIRQStatus()
|
||||
{
|
||||
nIRQPending = (nVideoIRQ == 0 || nSoundIRQ == 0 || nUnknownIRQ == 0);
|
||||
@ -326,6 +340,8 @@ static INT32 DrvFrame()
|
||||
CaveClearOpposites(&DrvInput[0]);
|
||||
CaveClearOpposites(&DrvInput[1]);
|
||||
|
||||
bESPRaDeMixerKludge = (DrvDips[0] == 8);
|
||||
|
||||
SekNewFrame();
|
||||
|
||||
nCyclesTotal[0] = (INT32)((INT64)16000000 * nBurnCPUSpeedAdjust / (0x0100 * CAVE_REFRESHRATE));
|
||||
@ -669,7 +685,7 @@ struct BurnDriver BurnDrvEsprade = {
|
||||
"ESP Ra.De. - A.D.2018 Tokyo (International, ver. 98/04/22)\0", NULL, "Atlus / Cave", "Cave",
|
||||
NULL, NULL, NULL, NULL,
|
||||
BDF_GAME_WORKING | BDF_ORIENTATION_VERTICAL | BDF_16BIT_ONLY, 2, HARDWARE_CAVE_68K_ONLY, GBF_VERSHOOT, 0,
|
||||
NULL, espradeRomInfo, espradeRomName, NULL, NULL, espradeInputInfo, NULL,
|
||||
NULL, espradeRomInfo, espradeRomName, NULL, NULL, espradeInputInfo, espradeDIPInfo,
|
||||
DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
|
||||
&CaveRecalcPalette, 0x8000, 240, 320, 3, 4
|
||||
};
|
||||
@ -679,7 +695,7 @@ struct BurnDriver BurnDrvEspradej = {
|
||||
"ESP Ra.De. (Japan, ver. 98/04/21)\0", NULL, "Atlus / Cave", "Cave",
|
||||
L"ESP Ra.De. \u30A8\u30B9\u30D7\u30EC\u30A4\u30C9 (Japan, ver. 98/04/21)\0", NULL, NULL, NULL,
|
||||
BDF_GAME_WORKING | BDF_CLONE | BDF_ORIENTATION_VERTICAL | BDF_16BIT_ONLY, 2, HARDWARE_CAVE_68K_ONLY, GBF_VERSHOOT, 0,
|
||||
NULL, espradejRomInfo, espradejRomName, NULL, NULL, espradeInputInfo, NULL,
|
||||
NULL, espradejRomInfo, espradejRomName, NULL, NULL, espradeInputInfo, espradeDIPInfo,
|
||||
DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
|
||||
&CaveRecalcPalette, 0x8000, 240, 320, 3, 4
|
||||
};
|
||||
@ -689,7 +705,7 @@ struct BurnDriver BurnDrvEspradejo = {
|
||||
"ESP Ra.De. (Japan, ver. 98/04/14)\0", NULL, "Atlus / Cave", "Cave",
|
||||
L"ESP Ra.De. \u30A8\u30B9\u30D7\u30EC\u30A4\u30C9 (Japan, ver. 98/04/14)\0", NULL, NULL, NULL,
|
||||
BDF_GAME_WORKING | BDF_CLONE | BDF_ORIENTATION_VERTICAL | BDF_16BIT_ONLY, 2, HARDWARE_CAVE_68K_ONLY, GBF_VERSHOOT, 0,
|
||||
NULL, espradejoRomInfo, espradejoRomName, NULL, NULL, espradeInputInfo, NULL,
|
||||
NULL, espradejoRomInfo, espradejoRomName, NULL, NULL, espradeInputInfo, espradeDIPInfo,
|
||||
DrvInit, DrvExit, DrvFrame, DrvDraw, DrvScan,
|
||||
&CaveRecalcPalette, 0x8000, 240, 320, 3, 4
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user