Fix autodetection of NES controllers

Closes https://github.com/libretro/libretro-fceumm/issues/230
This commit is contained in:
retro-wertz
2018-11-23 07:25:17 +08:00
committed by GitHub
parent 773c90e75a
commit 3de40d9126

View File

@@ -1937,11 +1937,7 @@ bool retro_load_game(const struct retro_game_info *game)
}
for (i = 0; i < MAX_PORTS; i++)
{
// init default controller
GameInfo->input[i] = SI_GAMEPAD;
FCEUI_SetInput(i, SI_GAMEPAD, &JSReturn, 0);
}
//
FCEU_printf("Setting default controllers...\n");