Welcome!

Final Burn Neo => FBN Development => Topic started by: NJ7 on November 09, 2004, 01:42:35 AM

Title: Updated CPS-1 and CPS-2 Support...
Post by: NJ7 on November 09, 2004, 01:42:35 AM
Just unzip this in your src's burn directory.....updated to current MAME sets.... :D


+66
Title: Updated CPS-1 and CPS-2 Support...
Post by: Death Metal on November 19, 2004, 11:07:36 AM
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.
Title: Updated CPS-1 and CPS-2 Support...
Post by: PRican25 on December 02, 2004, 11:15:15 PM
hmm i keep getting errors that say: `BDF_LOCKEDE' was not declared in this scope
make: *** [dc_1944.o] Error 1
Title: Updated CPS-1 and CPS-2 Support...
Post by: iq_132 on December 03, 2004, 01:18:08 AM
do a search and replace for BDF_LOCKED in dc_1944.c

Just delete any occurances of BDF_LOCKED
Title: Updated CPS-1 and CPS-2 Support...
Post by: PRican25 on December 03, 2004, 02:44:19 PM
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

heres the driver that was added:
Code: [Select]
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();
}

EDIT: this also happens with mvsc's 4 player hack
Title: Hmmm...
Post by: KingHanco on December 21, 2004, 04:39:21 AM
Most of these are bad???

There isn't anything that say what drivers works and don't works.

Yes I removed the BDF_LOCKED on all of those.

Still. It crashes and lot of things.

What drivers that we need to use???

It sucks without any readme in the zip.

Don't worry PRican25, your not the only one that have these problems too. :(

Lucky that I made backup. :eek:

=========================================================

Ok.

I don't need these now.

Just found out it the same as the fba_029498 src.