From 9972832afe9cce45d44ae11fe3b63fe1cfafcfcf Mon Sep 17 00:00:00 2001 From: arcum42 Date: Wed, 5 Nov 2008 14:03:44 +0000 Subject: [PATCH] Make the Linux version compilable. It isn't *usable*, but it's compilable. I'm not sure I'll have time to get it playable tonight... git-svn-id: http://pcsx2-playground.googlecode.com/svn/trunk@301 a6443dda-0b58-4228-96e9-037be469359c --- pcsx2/Linux/LnxMain.c | 4 ++-- pcsx2/Makefile.am | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pcsx2/Linux/LnxMain.c b/pcsx2/Linux/LnxMain.c index dfc86a84c4..405a00365f 100644 --- a/pcsx2/Linux/LnxMain.c +++ b/pcsx2/Linux/LnxMain.c @@ -486,11 +486,11 @@ void SysPrintf(const char *fmt, ...) { #endif #endif } -void *SysLoadLibrary(char *lib) { +void *SysLoadLibrary(const char *lib) { return dlopen(lib, RTLD_NOW); } -void *SysLoadSym(void *lib, char *sym) { +void *SysLoadSym(void *lib, const char *sym) { return dlsym(lib, sym); } diff --git a/pcsx2/Makefile.am b/pcsx2/Makefile.am index 24cd733dcc..deb8918ed9 100644 --- a/pcsx2/Makefile.am +++ b/pcsx2/Makefile.am @@ -10,7 +10,7 @@ CDVD.h Elfheader.h Memory.h PsxCounters.h R5900.h VU0micr CDVDiso.c FiFo.c Misc.c PsxDma.c Sif.c VU1micro.c \ CDVDisodrv.c FPU2.cpp PsxDma.h Sifcmd.h VUflags.c \ CDVDisodrv.h FPU.c MMI.c Sif.h VUflags.h \ -CDVDiso.h GS.cpp Patch.c Sio.c VU.h \ +CDVDiso.h GS.cpp PathUtils.c Patch.c Sio.c VU.h \ CDVDlib.h GS.h Patch.h PsxHw.c Sio.h VUmicro.h \ Common.h Hw.c Plugins.c PsxHw.h SPR.c VUops.c \ COP0.c Hw.h Plugins.h PsxInterpreter.c SPR.h VUops.h \