Merge pull request #1323 from Sonicadvance1/Android-crash Fix a crash on Android when unplugging a controller during emulation.