iq_132 Posted May 14, 2004 Posted May 14, 2004 Hey all you FBA/FBAx fans, here's some more code for you to play with http://www.freepgs.com/iq_132/pages/games/neopcm2.htm
Prican25 Posted May 14, 2004 Posted May 14, 2004 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 = {
Xeon Posted May 14, 2004 Posted May 14, 2004 (edited) havent tried it yet, but that was goddamn awesome work you made there! i want metal slug 5 code too you foo! j/k, though i really wish one exist Edited May 14, 2004 by Xeon
Xeon Posted May 14, 2004 Posted May 14, 2004 (edited) 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 May 14, 2004 by Xeon
iq_132 Posted May 14, 2004 Author Posted May 14, 2004 (edited) Oops!!! I copied the wrong line from neogeo.h when making my driver page. Instead of adding this in neogeo.hextern int ncthd2003; add this:extern int nPCM2Value; I've fixed it now on the page I posted. Edited May 14, 2004 by iq_132
iq_132 Posted May 14, 2004 Author Posted May 14, 2004 hmm..is there one for kof2001 and 2002??What troubles are you having for kof2001? Here's the code for kof2002 (mame set) http://www.freepgs.com/iq_132/pages/games/kof2002.html
Prican25 Posted May 14, 2004 Posted May 14, 2004 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
Prican25 Posted May 14, 2004 Posted May 14, 2004 (edited) nevermind, an error on my part hehe. great work man sound is still scratchy tho Edited May 14, 2004 by Prican25
iq_132 Posted May 14, 2004 Author Posted May 14, 2004 Hmm.. Give me a little while and I'll figure it out
iq_132 Posted May 14, 2004 Author Posted May 14, 2004 (edited) Actually, I figured it out already You want to find this: if (BurnDrvGetHardwareCode() & HARDWARE_SNK_SWAPV) { for (int i = 0; i < 0x00200000; i++) { unsigned char n = YM2610ADPCMAROM[i]; YM2610ADPCMAROM[i] = YM2610ADPCMAROM[0x00200000 + i]; YM2610ADPCMAROM[0x00200000 + i] = n; } } } and put the main body of code after it ( The if (nPCM2Value != 0) part) For some reason there is some code in a different place in my fba source. Edited May 14, 2004 by iq_132
Weirdy Posted May 14, 2004 Posted May 14, 2004 hmm..is there one for kof2001 and 2002??What troubles are you having for kof2001? Here's the code for kof2002 (mame set) http://www.freepgs.com/iq_132/pages/games/kof2002.html well..I've never seen decryption for the encrypted set to work on fba...where can I find it?
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now