From 47d0c4d2604e94ce343aadaa9b7a34d014f606a7 Mon Sep 17 00:00:00 2001 From: "fires.gc" Date: Mon, 9 Mar 2009 17:31:30 +0000 Subject: [PATCH] just create an home directory if we have insert a disc git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@2633 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp index c45b2cfebb..a2d2f1770c 100644 --- a/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp +++ b/Source/Core/Core/Src/IPC_HLE/WII_IPC_HLE_Device_fs.cpp @@ -55,8 +55,10 @@ bool CWII_IPC_HLE_Device_fs::Open(u32 _CommandAddress, u32 _Mode) } // create home directory + if (VolumeHandler::IsValid()) { u32 TitleID = VolumeHandler::Read32(0); + _dbg_assert_(WII_IPC_FILEIO, TitleID != 0); if (TitleID == 0) TitleID = 0xF00DBEEF; char* pTitleID = (char*)&TitleID;