mirror of
https://github.com/libretro/RetroArch
synced 2025-01-27 03:35:22 +00:00
(360) No more memset in input_poll function
This commit is contained in:
parent
dc1a32f7f7
commit
2cd7349cac
@ -131,6 +131,9 @@ static void set_default_settings(void)
|
||||
g_console.block_config_read = true;
|
||||
g_console.mode_switch = MODE_MENU;
|
||||
strlcpy(g_console.default_rom_startup_dir, "game:\\roms\\", sizeof(g_console.default_rom_startup_dir));
|
||||
|
||||
//g_extern
|
||||
g_extern.verbose = true;
|
||||
}
|
||||
|
||||
static void get_environment_settings (void)
|
||||
|
@ -29,7 +29,6 @@ static XINPUT_STATE state[4];
|
||||
static void xdk360_input_poll(void *data)
|
||||
{
|
||||
(void)data;
|
||||
memset(&state, 0, sizeof(XINPUT_STATE));
|
||||
|
||||
for (unsigned i = 0; i < 4; i++)
|
||||
XInputGetState(i, &state[i]);
|
||||
|
Loading…
x
Reference in New Issue
Block a user