summaryrefslogtreecommitdiff
path: root/Source/Core/DiscIO/Src/VolumeGC.cpp
diff options
context:
space:
mode:
authorfgfemperor <fgfemperor@gmail.com>2010-01-09 22:03:20 +0000
committerfgfemperor <fgfemperor@gmail.com>2010-01-09 22:03:20 +0000
commit175162e66170c0b66e152ddae7f8738facbe2f16 (patch)
treeeab6627446c2b866a3b3ff0dda506047d7f5669c /Source/Core/DiscIO/Src/VolumeGC.cpp
parent1a5817f6fdcf2fd5967809422c252e503d930b13 (diff)
Fixed Issue 1979 - Crash when scanning WAD files with no title information...
Removed the panic alert about HCI_CMD_INQUIRY because it doesn't crash Dolphin or anything like that... It's called from MiiChannel, when you try to upload your Miis to a WiiMote. And it works just fine! (except for the warning "Can't find Wiimote by bd: xx:xx:xx:xx:xx:xx", which is really odd)... git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4800 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DiscIO/Src/VolumeGC.cpp')
-rw-r--r--Source/Core/DiscIO/Src/VolumeGC.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/Core/DiscIO/Src/VolumeGC.cpp b/Source/Core/DiscIO/Src/VolumeGC.cpp
index 13c2ebbb07..d4bb82506f 100644
--- a/Source/Core/DiscIO/Src/VolumeGC.cpp
+++ b/Source/Core/DiscIO/Src/VolumeGC.cpp
@@ -91,11 +91,11 @@ std::string CVolumeGC::GetMakerID() const
std::string CVolumeGC::GetName() const
{
if (m_pReader == NULL)
- return false;
+ return "";
char name[128];
if (!Read(0x20, 0x60, (u8*)&name))
- return false;
+ return "";
return name;
}