mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
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:
@ -66,8 +66,13 @@ GameListItem::GameListItem(const std::string& _rFileName)
|
||||
m_Company = "N/A";
|
||||
for (int i = 0; i < 6; i++)
|
||||
{
|
||||
m_Name[i] = _rFileName; // Give an init value
|
||||
m_Name[i] = pVolume->GetName();
|
||||
if(m_Name[i] == "") // Couldn't find the name in the WAD...
|
||||
{
|
||||
std::string FileName;
|
||||
SplitPath(_rFileName, NULL, &FileName, NULL);
|
||||
m_Name[i] = FileName; // Then just display the filename... Better than something like "No Name"
|
||||
}
|
||||
m_Description[i] = "No Description";
|
||||
}
|
||||
m_Country = pVolume->GetCountry();
|
||||
|
Reference in New Issue
Block a user