notaz.gp2x.de
/
pcsx_rearmed.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge https://github.com/notaz/pcsx_rearmed
[pcsx_rearmed.git]
/
libpcsxcore
/
cdriso.c
diff --git
a/libpcsxcore/cdriso.c
b/libpcsxcore/cdriso.c
index
bfa7d76
..
d6672f9
100644
(file)
--- a/
libpcsxcore/cdriso.c
+++ b/
libpcsxcore/cdriso.c
@@
-34,6
+34,7
@@
#include <sys/time.h>
#include <unistd.h>
#endif
#include <sys/time.h>
#include <unistd.h>
#endif
+#include <errno.h>
#include <zlib.h>
unsigned int cdrIsoMultidiskCount;
#include <zlib.h>
unsigned int cdrIsoMultidiskCount;
@@
-1222,6
+1223,8
@@
static long CALLBACK ISOopen(void) {
cdHandle = fopen(GetIsoFile(), "rb");
if (cdHandle == NULL) {
cdHandle = fopen(GetIsoFile(), "rb");
if (cdHandle == NULL) {
+ SysPrintf(_("Could't open '%s' for reading: %s\n"),
+ GetIsoFile(), strerror(errno));
return -1;
}
return -1;
}