mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-07 08:39:00 +00:00
Fixed a little crash I had in ISOProperties with Mario Kart Wii, it was trying to read a third unknown partition type.
Effectively toggling throttle in DSP HLE/LLE when the game is running git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3096 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
989f4fb6da
commit
adb791dd58
4 changed files with 13 additions and 4 deletions
|
@ -71,9 +71,11 @@ CISOProperties::CISOProperties(const std::string fileName, wxWindow* parent, wxW
|
|||
WiiPartition temp;
|
||||
if ((temp.Partition = DiscIO::CreateVolumeFromFilename(fileName, i)) != NULL)
|
||||
{
|
||||
temp.FileSystem = DiscIO::CreateFileSystem(temp.Partition);
|
||||
temp.FileSystem->GetFileList(temp.Files);
|
||||
WiiDisc.push_back(temp);
|
||||
if ((temp.FileSystem = DiscIO::CreateFileSystem(temp.Partition)) != NULL)
|
||||
{
|
||||
temp.FileSystem->GetFileList(temp.Files);
|
||||
WiiDisc.push_back(temp);
|
||||
}
|
||||
}
|
||||
else
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue