Merge pull request #402 from retrotalker/controls

activate controllers
This commit is contained in:
bearoso 2018-08-20 10:32:27 -05:00 committed by GitHub
commit 4e7beef0f0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -575,6 +575,8 @@ void retro_set_controller_port_device(unsigned port, unsigned device)
log_cb(RETRO_LOG_ERROR, "Invalid device (%d).\n", device); log_cb(RETRO_LOG_ERROR, "Invalid device (%d).\n", device);
break; break;
} }
S9xControlsSoftReset();
} }
else if(device != RETRO_DEVICE_NONE) else if(device != RETRO_DEVICE_NONE)
log_cb(RETRO_LOG_INFO, "Nonexistent Port (%d).\n", port); log_cb(RETRO_LOG_INFO, "Nonexistent Port (%d).\n", port);