mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
We hate pointer games, don't we?
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@597 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -103,10 +103,10 @@ IVolume* CreateVolumeFromFilename(const std::string& _rFilename)
|
||||
return NULL;
|
||||
}
|
||||
|
||||
bool IsVolumeWiiDisc(const IVolume& _rVolume)
|
||||
bool IsVolumeWiiDisc(const IVolume *_rVolume)
|
||||
{
|
||||
u32 MagicWord = 0;
|
||||
_rVolume.Read(0x18, 4, (u8*)&MagicWord);
|
||||
_rVolume->Read(0x18, 4, (u8*)&MagicWord);
|
||||
|
||||
return (Common::swap32(MagicWord) == 0x5D1C9EA3);
|
||||
}
|
||||
|
Reference in New Issue
Block a user