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
This commit is contained in:
fgfemperor
2010-01-09 22:03:20 +00:00
parent 1a5817f6fd
commit 175162e661
5 changed files with 14 additions and 8 deletions

View File

@ -110,12 +110,12 @@ std::string CVolumeWAD::GetName() const
u32 footer_size;
if (!Read(0x1C, 4, (u8*)&footer_size))
return false;
return "";
// Offset to the english title
char temp[84];
if (!Read(0xF1 + OpeningBnrOffset, 84, (u8*)&temp) || Common::swap32(footer_size) < 0xF1)
return false;
return "";
// Remove the null bytes due to 16bit char length
std::string out_temp;