1
0
mirror of https://github.com/blawar/GLideN64.git synced 2024-07-03 01:23:37 +00:00

Fix mupen64plus build.

This commit is contained in:
Sergey Lipskiy 2015-11-24 15:44:17 +06:00
parent 955e344ac0
commit 05d6972cc3
4 changed files with 3 additions and 24 deletions

View File

@ -10,7 +10,7 @@ extern "C" {
#define CALL __cdecl
#else
#define EXPORT __attribute__((visibility("default")))
#define CALL _cdecl
#define CALL
#endif
/******************************************************************

View File

@ -44,24 +44,4 @@ EXPORT void CALL SetRenderingCallback(void (*callback)(int))
api().SetRenderingCallback(callback);
}
EXPORT void CALL FBRead(u32 addr)
{
api().FBRead(addr);
}
EXPORT void CALL FBWrite(u32 addr, u32 size)
{
api().FBWrite(addr, size);
}
EXPORT void CALL FBGetFrameBufferInfo(void *p)
{
api().FBGetFrameBufferInfo(p);
}
EXPORT void CALL ResizeVideoOutput(int Width, int Height)
{
api().ResizeVideoOutput(Width, Height);
}
} // extern "C"

View File

@ -63,9 +63,6 @@ public:
void DllAbout(/*HWND _hParent*/);
#else
// MupenPlus
void FBRead(unsigned int _addr) {}
void FBWrite(unsigned int addr, unsigned int size) {}
void FBGetFrameBufferInfo(void * _p) {}
void ResizeVideoOutput(int _Width, int _Height);
void ReadScreen2(void * _dest, int * _width, int * _height, int _front);

View File

@ -196,6 +196,7 @@ EXPORT void CALL ResizeVideoOutput(int width, int height);
#endif
/* frame buffer plugin spec extension */
#if 0 // The extension is moved to separate header.
typedef struct
{
unsigned int addr;
@ -211,6 +212,7 @@ EXPORT void CALL FBRead(unsigned int addr);
EXPORT void CALL FBWrite(unsigned int addr, unsigned int size);
EXPORT void CALL FBGetFrameBufferInfo(void *p);
#endif
#endif // 0
/* audio plugin function pointers */
typedef void (*ptr_AiDacrateChanged)(int SystemType);