Author Topic: Updated CPS-1 and CPS-2 Support...  (Read 5589 times)

Offline NJ7

  • Jr. Member
  • **
  • Posts: 78
  • Karma: +0/-6
  • Member
Updated CPS-1 and CPS-2 Support...
« on: November 09, 2004, 01:42:35 AM »
Just unzip this in your src's burn directory.....updated to current MAME sets.... :D


+66
« Last Edit: March 04, 2007, 09:52:26 AM by iq_132 »

Offline Death Metal

  • Member
  • ***
  • Posts: 121
  • Karma: +3/-0
  • Crimson Blade
Updated CPS-1 and CPS-2 Support...
« Reply #1 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.

Offline PRican25

  • Newbies
  • *
  • Posts: 44
  • Karma: +0/-0
  • Balla Bori Balla
Updated CPS-1 and CPS-2 Support...
« Reply #2 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

Offline iq_132

  • Administrator
  • *****
  • Posts: 3728
  • Karma: +411/-0
  • Definitely not Dink!
    • NeoSource
Updated CPS-1 and CPS-2 Support...
« Reply #3 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


Offline PRican25

  • Newbies
  • *
  • Posts: 44
  • Karma: +0/-0
  • Balla Bori Balla
Updated CPS-1 and CPS-2 Support...
« Reply #4 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
« Last Edit: May 10, 2005, 01:09:18 PM by iq_132 »

Offline KingHanco

  • Sr. Member
  • ****
  • Posts: 401
  • Karma: +0/-4
  • "Special " Member
Hmmm...
« Reply #5 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.