Merge pull request #106 from lioncash/unnecessary-cstr

Unnecessary c_str() call in WII_IPC_HLE_Device_es.cpp's OpenTitleContent function.
This commit is contained in:
Pierre Bourdon 2014-02-24 15:56:34 +01:00
commit 7be3dae988
1 changed files with 1 additions and 1 deletions

View File

@ -953,7 +953,7 @@ bool CWII_IPC_HLE_Device_es::IOCtlV(u32 _CommandAddress)
for (unsigned int i = 0; i < size; i++)
wiiMoteConnected[i] = s_Usb->m_WiiMotes[i].IsConnected();
std::string tContentFile(m_ContentFile.c_str());
std::string tContentFile(m_ContentFile);
WII_IPC_HLE_Interface::Reset(true);
WII_IPC_HLE_Interface::Init();