aboutsummaryrefslogtreecommitdiff
path: root/libpcsxcore/cdriso.c
diff options
context:
space:
mode:
authortwinaphex2013-06-07 21:22:31 +0200
committertwinaphex2013-06-07 21:22:31 +0200
commitc0adc1d662ed933b8d3369746fc7cf25736b1219 (patch)
tree919084d5dd0190d423f02721598d5f0961811e33 /libpcsxcore/cdriso.c
parent9b56b10a186877d32c47be051250ffb307404e78 (diff)
parentd848b60a3da875fca0b1f2ddf8a4ae9d487d685b (diff)
downloadpcsx_rearmed-c0adc1d662ed933b8d3369746fc7cf25736b1219.tar.gz
pcsx_rearmed-c0adc1d662ed933b8d3369746fc7cf25736b1219.tar.bz2
pcsx_rearmed-c0adc1d662ed933b8d3369746fc7cf25736b1219.zip
Merge git://github.com/notaz/pcsx_rearmed
Diffstat (limited to 'libpcsxcore/cdriso.c')
-rw-r--r--libpcsxcore/cdriso.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c
index bfa7d76..d6672f9 100644
--- a/libpcsxcore/cdriso.c
+++ b/libpcsxcore/cdriso.c
@@ -34,6 +34,7 @@
#include <sys/time.h>
#include <unistd.h>
#endif
+#include <errno.h>
#include <zlib.h>
unsigned int cdrIsoMultidiskCount;
@@ -1222,6 +1223,8 @@ static long CALLBACK ISOopen(void) {
cdHandle = fopen(GetIsoFile(), "rb");
if (cdHandle == NULL) {
+ SysPrintf(_("Could't open '%s' for reading: %s\n"),
+ GetIsoFile(), strerror(errno));
return -1;
}