From 2e058581166a4b0dea91af3c4ae56054e5da6e75 Mon Sep 17 00:00:00 2001 From: notaz Date: Tue, 4 Jun 2013 23:46:43 +0300 Subject: [PATCH] cdriso: log file open errors --- libpcsxcore/cdriso.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.5