Jump to content

Some Fun Fba Code :)


Recommended Posts

  • Replies 34
  • Created
  • Last Reply

Top Posters In This Topic

having a minor prob here, when i try to add the init's for mslug4 and rotd i get an error :(

heres an example of what i did:

static int rotdInit()
{
nNeoProtectionXor = 0x3f;
nPCM2Value=16;
return NeoInit();
}

struct BurnDriver BurnDrvrotd = {

Link to comment
Share on other sites

havent tried it yet, but that was goddamn awesome work you made there! ;)

 

i want metal slug 5 code too you foo! :Pj/k, though i really wish one exist :(

Edited by Xeon
Link to comment
Share on other sites

i cant get it to work too. heres my error:

 

MinGWC:\fbasrc>make >log.txt
src/burn/neogeo/neo_run.cpp: In function `int LoadRoms(NeoGameInfo*)':
src/burn/neogeo/neo_run.cpp:522: error: ISO C++ forbids variable-size array `
  buffer'
C:\MINGW\BIN\MAKE.EXE: *** [neo_run.o] Error 1

 

i modded the code slightly in neogeo.h though, since "extern int ncthd2003;" already existed, i decided to add "extern int nnPCM2Value;" instead, but im not sure if that made it worse (?)

Edited by Xeon
Link to comment
Share on other sites

Oops!!! I copied the wrong line from neogeo.h when making my driver page.

 

Instead of adding this in neogeo.h

extern int ncthd2003;

 

add this:

extern int nPCM2Value;

 

I've fixed it now on the page I posted.

Edited by iq_132
Link to comment
Share on other sites

i'm still getting a problem adding the init for mslug or rotd, says:

src/burn/neogeo/d_neogeo.cpp: In function `int mslug4Init()':
src/burn/neogeo/d_neogeo.cpp:7121: `nPCM2Value' undeclared (first use this
  function)
src/burn/neogeo/d_neogeo.cpp:7121: (Each undeclared identifier is reported only

  once for each function it appears in.)
make: *** [d_neogeo.o] Error 1

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...