An attempt to fix Monster Hunter Tri, verification needed yet.

git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4620 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
ayuanx 2009-11-27 20:48:54 +00:00
parent ea732db998
commit bf6f40efbf

View file

@ -66,7 +66,12 @@ bool CWII_IPC_HLE_Device_di::Open(u32 _CommandAddress, u32 _Mode)
bool CWII_IPC_HLE_Device_di::Close(u32 _CommandAddress)
{
Memory::Write_U32(0, _CommandAddress + 4);
if (m_pFileSystem)
{
delete m_pFileSystem;
m_pFileSystem = NULL;
}
Memory::Write_U32(0, _CommandAddress + 4);
m_Active = false;
return true;
}