mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
Fix changing disc on win32, (my dumb mistake, strlen doesnt include \0)
make changing disc a little less ugly Fixes issue 2114 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4939 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
fbdf721e0e
commit
ed8742dd4d
4 changed files with 5 additions and 9 deletions
|
@ -367,13 +367,13 @@ bool DolphinApp::OnInit()
|
|||
if (selectPadPlugin && padPluginFilename != wxEmptyString)
|
||||
{
|
||||
int k;
|
||||
for(k=0;k<4;k++)
|
||||
for(k=0;k<MAXPADS;k++)
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strPadPlugin[k] = std::string(padPluginFilename.mb_str());
|
||||
}
|
||||
if (selectWiimotePlugin && wiimotePluginFilename != wxEmptyString)
|
||||
{
|
||||
int k;
|
||||
for(k=0;k<4;k++)
|
||||
for(k=0;k<MAXWIIMOTES;k++)
|
||||
SConfig::GetInstance().m_LocalCoreStartupParameter.m_strWiimotePlugin[k] = std::string(wiimotePluginFilename.mb_str());
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue