mirror of
https://github.com/ekeeke/Genesis-Plus-GX.git
synced 2024-11-04 18:05:06 +01:00
fixed broken input system initialization [Gamecube/Wii]
This commit is contained in:
parent
68fd6e7e89
commit
2ce92e459a
@ -221,9 +221,6 @@ void config_default(void)
|
|||||||
/* try to restore user config */
|
/* try to restore user config */
|
||||||
int loaded = config_load();
|
int loaded = config_load();
|
||||||
|
|
||||||
/* restore inputs */
|
|
||||||
input_init();
|
|
||||||
|
|
||||||
#ifndef HW_RVL
|
#ifndef HW_RVL
|
||||||
/* detect progressive mode enable/disable requests */
|
/* detect progressive mode enable/disable requests */
|
||||||
PAD_ScanPads();
|
PAD_ScanPads();
|
||||||
@ -255,4 +252,9 @@ void config_default(void)
|
|||||||
GUI_WaitPrompt("Warning","Default Settings restored");
|
GUI_WaitPrompt("Warning","Default Settings restored");
|
||||||
gx_input_SetDefault();
|
gx_input_SetDefault();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* default emulated inputs */
|
||||||
|
input.system[0] = SYSTEM_MD_GAMEPAD;
|
||||||
|
input.system[1] = (config.input[1].device != -1) ? SYSTEM_MD_GAMEPAD : NO_SYSTEM;
|
||||||
|
input_init();
|
||||||
}
|
}
|
||||||
|
@ -1318,10 +1318,6 @@ void gx_input_SetDefault(void)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/* default emulated inputs */
|
|
||||||
input.system[0] = SYSTEM_MD_GAMEPAD;
|
|
||||||
input.system[1] = (config.input[1].device != -1) ? SYSTEM_MD_GAMEPAD : NO_SYSTEM;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void gx_input_Config(u8 chan, u8 device, u8 type)
|
void gx_input_Config(u8 chan, u8 device, u8 type)
|
||||||
|
@ -68,7 +68,7 @@
|
|||||||
|
|
||||||
/*************************************************/
|
/*************************************************/
|
||||||
|
|
||||||
#define VERSION "Genesis Plus GX 1.7.2"
|
#define VERSION "Genesis Plus GX 1.7.3"
|
||||||
|
|
||||||
#define NO_SYNC 0
|
#define NO_SYNC 0
|
||||||
#define SYNC_VIDEO 1
|
#define SYNC_VIDEO 1
|
||||||
|
Loading…
Reference in New Issue
Block a user