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

Fix POSIX compilation issues

This commit is contained in:
Sergey Lipskiy 2014-10-02 20:21:11 +07:00
parent 768430a234
commit d74e39b948
6 changed files with 23 additions and 11 deletions

View File

@ -5,6 +5,7 @@ project( GLideN64 )
set(GLideN64_SOURCES
3DMath.cpp
Combiner.cpp
CommonPluginAPI.cpp
CRC.cpp
DepthBuffer.cpp
F3D.cpp

View File

@ -26,11 +26,12 @@ extern "C" {
/* Plugin types */
#define PLUGIN_TYPE_GFX 2
#define EXPORT __declspec(dllexport)
#ifdef _WINDOWS
#define CALL __cdecl
#define EXPORT __declspec(dllexport)
#define CALL __cdecl
#else
#define CALL _cdecl
#define EXPORT __attribute__((visibility("default")))
#define CALL _cdecl
#endif
/***** Structures *****/

View File

@ -477,7 +477,7 @@ void Config_LoadConfig()
config.enableLOD = TRUE;
}
void Config_DoConfig()
void Config_DoConfig(HWND /*hParent*/)
{
Config_LoadConfig();

View File

@ -8,6 +8,22 @@ static int selectedMicrocode = -1;
static GtkWidget *microcodeWindow = 0;
static GtkWidget *microcodeList = 0;
static const char *MicrocodeTypes[] =
{
"Fast3D",
"F3DEX",
"F3DEX2",
"Line3D",
"L3DEX",
"L3DEX2",
"S2DEX",
"S2DEX2",
"Perfect Dark",
"DKR/JFG",
"Waverace US",
"None"
};
static const int numMicrocodeTypes = 11;
static unsigned int uc_crc;
static const char * uc_str;

View File

@ -3,7 +3,7 @@
#include "../OpenGL.h"
#include "../Config.h"
void OGL_InitGLFunctions()
void initGLFunctions()
{
}

View File

@ -9,7 +9,6 @@ ProcessDList;
ProcessRDPList;
RomClosed;
RomOpen;
RomResumed;
ShowCFB;
UpdateScreen;
ViStatusChanged;
@ -17,12 +16,7 @@ ViWidthChanged;
ReadScreen2;
SetRenderingCallback;
ResizeVideoOutput;
SetFrameSkipping;
SetStretchVideo;
FBRead;
FBWrite;
FBGetFrameBufferInfo;
StartGL;
StopGL;
ResizeGL;
local: *; };