Fixes issue 5428. Thanks delroth.

This commit is contained in:
Matthew Parlane 2012-05-18 17:57:28 +12:00
parent c83f87dfc4
commit 1bc5f41e40
2 changed files with 4 additions and 3 deletions

View file

@ -83,7 +83,7 @@ static ipc_msg_queue reply_queue; // arm -> ppc
void Init()
{
_dbg_assert_msg_(WII_IPC_HLE, g_DeviceMap.empty(), "DeviceMap isnt empty on init");
CWII_IPC_HLE_Device_es::m_ContentFile = "";
u32 i;
for (i=0; i<IPC_MAX_FDS; i++)
{

View file

@ -38,6 +38,9 @@ public:
virtual bool IOCtlV(u32 _CommandAddress);
static u32 ES_DIVerify(u8 *_pTMD, u32 _sz);
// This should only be cleared on power reset
static std::string m_ContentFile;
private:
enum
@ -134,8 +137,6 @@ private:
std::vector<u64> m_TitleIDs;
u64 m_TitleID;
u32 AccessIdentID;
// This should only be cleared on power reset
static std::string m_ContentFile;
u64 GetCurrentTitleID() const;