Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #106 from lioncash/unnecessary-cstr
Unnecessary c_str() call in WII_IPC_HLE_Device_es.cpp's OpenTitleContent function.
  • Loading branch information
delroth committed Feb 24, 2014
2 parents b1e94cb + 98d2e76 commit 7be3dae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/Core/IPC_HLE/WII_IPC_HLE_Device_es.cpp
Expand Up @@ -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();
Expand Down

0 comments on commit 7be3dae

Please sign in to comment.