summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-02-15 17:50:26 +0000
committerSND\edgbla_cp <SND\edgbla_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97>2013-02-15 17:50:26 +0000
commitcc445563aa15e93d632dcbdb9ea6310fc576efab (patch)
tree29a557443c7d0f287be81f56ce69a5b4c3af9ebf
parent7ef3daa6c3e2cea2a4940d7539a15394fedc67cf (diff)
downloadpcsxr-cc445563aa15e93d632dcbdb9ea6310fc576efab.tar.gz
.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@82921 e17a0e51-4ae3-4d35-97c3-1a29b211df97
-rw-r--r--configure.ac2
-rwxr-xr-xlibpcsxcore/plugins.c21
2 files changed, 15 insertions, 8 deletions
diff --git a/configure.ac b/configure.ac
index 887910b2..19a0388f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -149,7 +149,7 @@ BLADESIO1=""
if test "$BUILD_SIO1" = "yes"; then
AC_DEFINE([ENABLE_SIO1API], [1], [Define if we want use sio interface.])
- PEOPSXGL="plugins/bladesio1"
+ BLADESIO1="plugins/bladesio1"
AC_SUBST(BLADESIO1)
AC_CONFIG_FILES([plugins/bladesio1/Makefile])
fi
diff --git a/libpcsxcore/plugins.c b/libpcsxcore/plugins.c
index c0cfc199..ff9b00e4 100755
--- a/libpcsxcore/plugins.c
+++ b/libpcsxcore/plugins.c
@@ -230,7 +230,8 @@ static int LoadGPUplugin(const char *GPUdll) {
hGPUDriver = SysLoadLibrary(GPUdll);
if (hGPUDriver == NULL) {
GPU_configure = NULL;
- SysMessage (_("Could not load GPU plugin %s!"), GPUdll); return -1;
+ SysMessage (_("Could not load GPU plugin %s!\n%s"), GPUdll, SysLibError());
+ return -1;
}
drv = hGPUDriver;
LoadGpuSym1(init, "GPUinit");
@@ -305,7 +306,8 @@ static int LoadCDRplugin(const char *CDRdll) {
hCDRDriver = SysLoadLibrary(CDRdll);
if (hCDRDriver == NULL) {
CDR_configure = NULL;
- SysMessage (_("Could not load CD-ROM plugin %s!"), CDRdll); return -1;
+ SysMessage (_("Could not load CD-ROM plugin %s!\n%s"), CDRdll, SysLibError());
+ return -1;
}
drv = hCDRDriver;
LoadCdrSym1(init, "CDRinit");
@@ -353,7 +355,8 @@ static int LoadSPUplugin(const char *SPUdll) {
hSPUDriver = SysLoadLibrary(SPUdll);
if (hSPUDriver == NULL) {
SPU_configure = NULL;
- SysMessage (_("Could not load SPU plugin %s!"), SPUdll); return -1;
+ SysMessage (_("Could not load SPU plugin %s!\n%s"), SPUdll, SysLibError());
+ return -1;
}
drv = hSPUDriver;
LoadSpuSym1(init, "SPUinit");
@@ -492,7 +495,8 @@ static int LoadPAD1plugin(const char *PAD1dll) {
hPAD1Driver = SysLoadLibrary(PAD1dll);
if (hPAD1Driver == NULL) {
PAD1_configure = NULL;
- SysMessage (_("Could not load Controller 1 plugin %s!"), PAD1dll); return -1;
+ SysMessage (_("Could not load Controller 1 plugin %s!\n%s"), PAD1dll, SysLibError());
+ return -1;
}
drv = hPAD1Driver;
LoadPad1Sym1(init, "PADinit");
@@ -550,7 +554,8 @@ static int LoadPAD2plugin(const char *PAD2dll) {
hPAD2Driver = SysLoadLibrary(PAD2dll);
if (hPAD2Driver == NULL) {
PAD2_configure = NULL;
- SysMessage (_("Could not load Controller 2 plugin %s!"), PAD2dll); return -1;
+ SysMessage (_("Could not load Controller 2 plugin %s!\n%s"), PAD2dll, SysLibError());
+ return -1;
}
drv = hPAD2Driver;
LoadPad2Sym1(init, "PADinit");
@@ -595,7 +600,8 @@ static int LoadNETplugin(const char *NETdll) {
hNETDriver = SysLoadLibrary(NETdll);
if (hNETDriver == NULL) {
- SysMessage (_("Could not load NetPlay plugin %s!"), NETdll); return -1;
+ SysMessage (_("Could not load NetPlay plugin %s!\n%s"), NETdll, SysLibError());
+ return -1;
}
drv = hNETDriver;
LoadNetSym1(init, "NETinit");
@@ -671,7 +677,8 @@ static int LoadSIO1plugin(const char *SIO1dll) {
hSIO1Driver = SysLoadLibrary(SIO1dll);
if (hSIO1Driver == NULL) {
- SysMessage (_("Could not load SIO1 plugin %s!"), SIO1dll); return -1;
+ SysMessage (_("Could not load SIO1 plugin %s!\n%s"), SIO1dll, SysLibError());
+ return -1;
}
drv = hSIO1Driver;