mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-05 10:33:37 +00:00
Fix mupen64plus build.
This commit is contained in:
parent
955e344ac0
commit
05d6972cc3
|
@ -10,7 +10,7 @@ extern "C" {
|
|||
#define CALL __cdecl
|
||||
#else
|
||||
#define EXPORT __attribute__((visibility("default")))
|
||||
#define CALL _cdecl
|
||||
#define CALL
|
||||
#endif
|
||||
|
||||
/******************************************************************
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue
Block a user