(360) No more memset in input_poll function

This commit is contained in:
TwinAphex51224 2012-02-08 21:10:13 +01:00
parent dc1a32f7f7
commit 2cd7349cac
2 changed files with 3 additions and 1 deletions

View File

@ -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)

View File

@ -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]);