From: notaz Date: Tue, 4 Jun 2013 20:46:43 +0000 (+0300) Subject: cdriso: log file open errors X-Git-Tag: r20~63 X-Git-Url: https://notaz.gp2x.de/cgi-bin/gitweb.cgi?p=pcsx_rearmed.git;a=commitdiff_plain;h=2e058581166a4b0dea91af3c4ae56054e5da6e75;ds=sidebyside cdriso: log file open errors --- diff --git a/libpcsxcore/cdriso.c b/libpcsxcore/cdriso.c index bfa7d763..d6672f98 100644 --- a/libpcsxcore/cdriso.c +++ b/libpcsxcore/cdriso.c @@ -34,6 +34,7 @@ #include #include #endif +#include #include 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; }