Swordfish90 / Lemuroid

All in one emulator on Android!
GNU General Public License v3.0
2.67k stars 167 forks source link

Emulation resets when screen auto rotates while system display scaling is non-default #587

Open wsocia opened 1 year ago

wsocia commented 1 year ago

Describe the bug While the Android system display scaling is set to anything besides the default, a user will encounter a bug that resets the current emulation session upon changing of display orientation from portrait to landscape or vice versa (auto-rotate)

To Reproduce Steps to reproduce the behavior:

  1. Set the display scaling in the Android settings to anything non-standard
  2. Start any game in Lemuroid
  3. After game has booted, rotate device to trigger system display rotation
  4. Observe that the game has reset to whatever state it was when it was initially launched. (ie. completely fresh boot, or save state if that's what it was launched as)

Expected behavior Expected behavior is display rotates to desired orientation and emulation continues running but with new desired rotation.

Smartphone (please complete the following information):

rodrigozangelmi commented 1 year ago

Having this problem in the inner screen of the Fold4! The outer screen rotates fine, no reset.