shagr4th / droid48

HP48 emulator for Android
https://play.google.com/store/apps/details?id=org.ab.x48
GNU General Public License v3.0
79 stars 28 forks source link

Zenfone 2 workaround fix for emulation freeze bug #17

Closed rafortis closed 7 years ago

rafortis commented 7 years ago

This is a workaround fix for the app freeze on Zenfone 2. The app freezes because the events are not being consumed. Uncomment LOGI("code: %d", code); on x48.c(line 632) fix the freeze (I found this while trying to debug this freeze). To avoid unnecessary LOG i've added an nanosleep(). I have not found what cause the consumer of the events to stop working.

The changes in emulate.c are because the Android SDK i used(25.0) was not compiling the lib.

shagr4th commented 7 years ago

Thanks, let's try this ;p

shagr4th commented 7 years ago

It slows down the emulation a lot on my device