libretro / bsnes2014

Libretro fork of bsnes. As close to upstream as possible.
GNU General Public License v3.0
9 stars 17 forks source link

Front Mission - Gunhazard crashes bsnes/retroarch on Android #15

Open andres-asm opened 8 years ago

andres-asm commented 8 years ago

This is an odd one, this particular game causes the inputs not to respond on android This is a relevant log:

W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 6
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 7
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 8
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 6
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 7
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 8
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 6
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 7
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 8
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 6
W/NvAudioPolicyManager(  172): getDeviceForStrategy() unknown strategy: 7

E/RetroArch( 9677): Failed to find device for ID: 5
E/RetroArch( 9677): Could not look up device name or IDs.
I/RetroArch( 9677): Device model: (SHIELD
I/RetroArch( 9677): ).
I/RetroArch( 9677): Using new lookup
W/art     ( 9677): JNI WARNING: java.lang.StackOverflowError thrown while calling printStackTrace

It only fails to find device for this ID when THIS GAME IS LOADED The same issue plagued mupen on lollipop (when it was working, now it doesn't even work)

andres-asm commented 8 years ago

The log is repeated on every input, it should happen just once, the JNI functions are not returning correctly when this game (or any game in mupen) is loaded