notaz.gp2x.de
/
pcsx_rearmed.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41294f4
)
cdriso: log file open errors
author
notaz
<notasas@gmail.com>
Tue, 4 Jun 2013 20:46:43 +0000
(23:46 +0300)
committer
notaz
<notasas@gmail.com>
Tue, 4 Jun 2013 20:46:43 +0000
(23:46 +0300)
libpcsxcore/cdriso.c
patch
|
blob
|
blame
|
history
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 <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;
}