Welcome!
Final Burn Neo => FBN Development => Topic started by: hxghwx on February 18, 2013, 06:06:07 AM
-
The old version of the FBA compiler to add color palette function, the running game wrong, who can do me a favor?
-
The old version of the FBA compiler to add color palette function, the running game wrong, who can do me a favor?
Can you provide more details please? In your post you are not specifying many things, what system you have, compiler you're using, fba source version, what game is giving problems (if any)...any detail you can give is vital to be able to help you.
SeeYa!
:biggrin:
-
=========================================burnint.h================================
Add UINT32 nPaletteEntries;
=========================================burn.h===========================
Add int BurnDrvGetPaletteEntries ( );
==========================================burn.cpp========================
Add extern " C " BurnDrvGetPaletteEntries ( int )
{
Return pDriver[nBurnDrvSelect]->nPaletteEntries;
}
==========================================================================
Mainly to solve the game had " BurnDrvGetPaletteEntries " cannot find symbol, as long as these items compiled a running game can make mistakes.
I used FBA-029686 to try, too.
-
extern "C" BurnDrvGetPaletteEntries(int)
{
return pDriver[nBurnDrvSelect]->nPaletteEntries;
}
改為:
extern "C" int BurnDrvGetPaletteEntries()
{
return pDriver[nBurnDrvSelect]->nPaletteEntries;
}
-
The next test, or the same. Still thank you!
-
Who can help me solve this problem? First, thank you pull