mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Small code cleanup
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4768 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -324,10 +324,11 @@ void Initialize()
|
||||
/* Populate joyinfo for all attached devices and do g_Config.Load() if the
|
||||
configuration window is not already open, if it's already open we
|
||||
continue with the settings we have */
|
||||
if(!g_FrameOpen)
|
||||
if(!g_SearchDeviceDone)
|
||||
{
|
||||
g_Config.Load();
|
||||
Search_Devices(joyinfo, NumPads, NumGoodPads);
|
||||
g_SearchDeviceDone = true;
|
||||
}
|
||||
|
||||
// Write default Eeprom data to g_Eeprom[], this may be overwritten by
|
||||
@ -616,7 +617,7 @@ void Update(int _number)
|
||||
g_ID = _number;
|
||||
|
||||
// Read input or not
|
||||
if (WiiMapping[g_ID].Source > 0)
|
||||
if (WiiMapping[g_ID].Source == 1)
|
||||
{
|
||||
ReadLinuxKeyboard();
|
||||
|
||||
|
Reference in New Issue
Block a user