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
1 changed files with 6 additions and 1 deletions

View File

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