Sorry for the delay - it was a big patch and I kept putting off going through it. I've committed it now with the following exceptions;
Index: src/burn/burn.cpp
===================================================================
--- src/burn/burn.cpp (revision 850)
+++ src/burn/burn.cpp (working copy)
@@ -8,7 +8,9 @@
// filler function, used if the application is not printing debug messages
static INT32 __cdecl BurnbprintfFiller(INT32, TCHAR* , ...) { return 0; }
// pointer to burner printing function
+#ifndef __LIBRETRO__
INT32 (__cdecl *bprintf)(INT32 nStatus, TCHAR* szFormat, ...) = BurnbprintfFiller;
+#endif
INT32 nBurnVer = BURN_VERSION; // Version number of the library
Index: src/burn/burn.h
===================================================================
--- src/burn/burn.h (revision 850)
+++ src/burn/burn.h (working copy)
@@ -209,7 +209,9 @@
#define PRINT_IMPORTANT (2)
#define PRINT_ERROR (3)
+#ifndef __LIBRETRO__
extern INT32 (__cdecl *bprintf) (INT32 nStatus, TCHAR* szFormat, ...);
+#endif
INT32 BurnLibInit();
INT32 BurnLibExit();
Index: src/burn/burn_gun.cpp
===================================================================
--- src/burn/burn_gun.cpp (revision 850)
+++ src/burn/burn_gun.cpp (working copy)
@@ -155,10 +155,17 @@
UINT8* pTile = pBurnDraw + nBurnGunMaxX * nBurnBpp * (y - 1) + nBurnBpp * x;
UINT32 nTargetCol = 0;
+#ifdef __LIBRETRO__
+ if (num == 0) nTargetCol = BurnHighCol(0xfc, 0x12, 0xee, 0);
+ if (num == 1) nTargetCol = BurnHighCol(0x1c, 0xfc, 0x1c, 0);
+ if (num == 2) nTargetCol = BurnHighCol(0x15, 0x93, 0xfd, 0);
+ if (num == 3) nTargetCol = BurnHighCol(0xf7, 0xfa, 0x0e, 0);
+#else
if (num == 0) nTargetCol = BurnHighCol(P1Colour, 0);
if (num == 1) nTargetCol = BurnHighCol(P2Colour, 0);
if (num == 2) nTargetCol = BurnHighCol(P3Colour, 0);
if (num == 3) nTargetCol = BurnHighCol(P4Colour, 0);
+#endif
for (INT32 y2 = 0; y2 < 17; y2++) {
Index: src/burn/drv/neogeo/d_neogeo.cpp
===================================================================
--- src/burn/drv/neogeo/d_neogeo.cpp (revision 850)
+++ src/burn/drv/neogeo/d_neogeo.cpp (working copy)
@@ -932,7 +932,7 @@
{ "", 0x00000, 0x00000000, 0 }, // 12
#endif
{ "sp-1v1_3db8c.bin", 0x20000, 0x162f0ebe, BRF_ESS | BRF_PRG | BRF_BIOS | BRF_SELECT | BRF_OPT }, // 13 Deck ver. 6 (Git Ver 1.3)
-#if !defined (ROM_VERIFY)
+#if !defined (ROM_VERIFY) && !defined(__LIBRETRO__)
{ "uni-bios_3_0.rom", 0x20000, 0xa97c89a9, BRF_ESS | BRF_PRG | BRF_BIOS | BRF_SELECT | BRF_OPT }, // 14 Universe BIOS ver. 3.0 (free)
// { "uni-bios_3_0.rom", 0x20000, 0x4cd01e5f, BRF_ESS | BRF_PRG | BRF_BIOS | BRF_SELECT | BRF_OPT }, // 14 Universe BIOS ver. 3.0 (full)
#else
I can't see any reason to commit these. If they are necessary I could be convinced, but I feel they should be handled by your port.