Tiny fix for Netplay window to display SJIS game titles correctly.
Do not scan device where emulator is already running git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4745 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
bd5d4cd34e
commit
7816bc6900
|
@ -170,7 +170,7 @@ void NetPlay::DrawGUI()
|
||||||
if (str_end == (int)std::string::npos || buffer.size() < 1)
|
if (str_end == (int)std::string::npos || buffer.size() < 1)
|
||||||
break; // we reached the end of the string
|
break; // we reached the end of the string
|
||||||
|
|
||||||
m_GameList_str.Add(wxString::FromAscii(buffer.c_str()));
|
m_GameList_str.Add(wxString(buffer.c_str(), *wxConvCurrent));
|
||||||
}
|
}
|
||||||
|
|
||||||
netmodes_str.Add(wxT("P2P Versus (2 players, faster)"));
|
netmodes_str.Add(wxT("P2P Versus (2 players, faster)"));
|
||||||
|
|
|
@ -168,11 +168,13 @@ void DllDebugger(HWND _hParent, bool Show) {}
|
||||||
|
|
||||||
void DllConfig(HWND _hParent)
|
void DllConfig(HWND _hParent)
|
||||||
{
|
{
|
||||||
// Load settings
|
if (!g_EmulatorRunning)
|
||||||
g_Config.Load();
|
{
|
||||||
|
// Load settings
|
||||||
// We do a pad search before creating the dialog
|
g_Config.Load();
|
||||||
WiiMoteEmu::Search_Devices(WiiMoteEmu::joyinfo, WiiMoteEmu::NumPads, WiiMoteEmu::NumGoodPads);
|
// We do a pad search before creating the dialog
|
||||||
|
WiiMoteEmu::Search_Devices(WiiMoteEmu::joyinfo, WiiMoteEmu::NumPads, WiiMoteEmu::NumGoodPads);
|
||||||
|
}
|
||||||
|
|
||||||
#if defined(HAVE_WX) && HAVE_WX
|
#if defined(HAVE_WX) && HAVE_WX
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue