Final Burn Neo > FBN Development
Updated CPS-1 and CPS-2 Support...
NJ7:
Just unzip this in your src's burn directory.....updated to current MAME sets.... :D
+66
Death Metal:
Also, does anyone have lying around that updated d_neogeo.cpp with the latest standard? I lost it a few days ago, but can't seem to find anywhere else.
Thanks.
PRican25:
hmm i keep getting errors that say: `BDF_LOCKEDE' was not declared in this scope
make: *** [dc_1944.o] Error 1
iq_132:
do a search and replace for BDF_LOCKED in dc_1944.c
Just delete any occurances of BDF_LOCKED
PRican25:
yup that did it for that error but now i have one error dealing with mshvsf 4 player hack:
--- Quote ---src/burn/capcom/dc_mshvsf.cpp: In function `void Drv4pInputSwap()':
src/burn/capcom/dc_mshvsf.cpp:16: `kDropped' undeclared (first use this
function)
src/burn/capcom/dc_mshvsf.cpp:16: (Each undeclared identifier is reported only
once for each function it appears in.)
src/burn/capcom/dc_mshvsf.cpp: In function `int Drv4pInit()':
src/burn/capcom/dc_mshvsf.cpp:52: `bInputSwap' undeclared (first use this
function)
src/burn/capcom/dc_mshvsf.cpp:54: `BurnDrvInputSwap' undeclared (first use this
function)
make: *** [dc_mshvsf.o] Error 1
--- End quote ---
heres the driver that was added:
--- Code: ---STDINPUTINFOSPEC(Drv4p, CpsFsi4p); // FBA Combo - extra players input hack
// FBA Combo - extra players input hack
// kDropped = which players got dropped during netplay
static void Drv4pInputSwap()
{
static bool bInit = false;
unsigned char pDropped = kDropped;
unsigned char nInputSwap = 0x00; // default = don't swap
if (SekReadByte(0xFF2492) == 1) {
bInit = true;
}
if (bInit) {
if (!(pDropped&0x02) && SekReadByte(0xFF4983) > 0) {
nInputSwap |= 0x02; // p2 controls p1
}
if (!(pDropped&0x08) && SekReadByte(0xFF49A3) > 0) {
nInputSwap |= 0x08; // p4 controls p2
}
if (SekReadByte(0xFF2492) == 0) {
bInit = false;
nInputSwap = 0x00; // back to default
}
} else {
if (!(pDropped&0x02) && SekReadByte(0xFF3A61) == 1) {
nInputSwap |= 0x02; // p2 controls p1
}
if (!(pDropped&0x08) && SekReadByte(0xFF3E61) == 1) {
nInputSwap |= 0x08; // p4 controls p2
}
}
if(pDropped&0x04 && !(pDropped&0x08)) {
nInputSwap |= 0x08; // p4 controls p2
}
CpsFsi4pSwap(nInputSwap);
}
// FBA Combo - extra players input hack
static int Drv4pInit()
{
bInputSwap = true;
kDropped = 0x00;
BurnDrvInputSwap = Drv4pInputSwap;
return Cps2Init();
}
// FBA Combo - extra players input hack
static int Drv4pExit()
{
bInputSwap = false;
kDropped = 0x00;
BurnDrvInputSwap = Null;
return CpsExit();
}
--- End code ---
EDIT: this also happens with mvsc's 4 player hack
Navigation
[0] Message Index
[#] Next page
Go to full version