fix issue with network command working only 1 time each
see https://github.com/libretro/RetroArch/issues/5737
This commit is contained in:
Supernature2k 2017-11-21 12:04:47 +01:00 committed by GitHub
parent d980336a80
commit d9afa9170c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -641,6 +641,7 @@ static void command_stdin_poll(command_t *handle)
bool command_poll(command_t *handle)
{
memset(handle->state, 0, sizeof(handle->state));
#if defined(HAVE_NETWORKING) && defined(HAVE_NETWORK_CMD) && defined(HAVE_COMMAND)
command_network_poll(handle);
#endif