From f190050c4666d830126ebc2ae6cf1c1e94cf70fb Mon Sep 17 00:00:00 2001 From: hrydgard Date: Fri, 4 Sep 2009 18:21:10 +0000 Subject: [PATCH] fix for "properties-crash" by lpfaint git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4202 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/DiscIO/Src/FileMonitor.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/Core/DiscIO/Src/FileMonitor.cpp b/Source/Core/DiscIO/Src/FileMonitor.cpp index c7a23cf49f..10fbac9df7 100644 --- a/Source/Core/DiscIO/Src/FileMonitor.cpp +++ b/Source/Core/DiscIO/Src/FileMonitor.cpp @@ -82,6 +82,7 @@ bool ShowSound(std::string FileName) void ReadGC(std::string FileName) { OpenISO = DiscIO::CreateVolumeFromFilename(FileName); + if (!OpenISO) return; if (!DiscIO::IsVolumeWiiDisc(OpenISO)) { pFileSystem = DiscIO::CreateFileSystem(OpenISO);