dcrespo3d / ZX-ESPectrum-Wiimote

A ZX spectrum 48K/128K emulator running on ESP32 powered Lilygo TTGo VGA32 v1.4 board, using PS2 keyboard and/or Wiimote as input device. Active branches are master and devkit-custom
MIT License
67 stars 18 forks source link

Loss of wii-remote control in game after loading from Quick Save or Persist Save #23

Closed funkypanky closed 9 months ago

funkypanky commented 1 year ago

Hello! I found a bug. We lose wii-remote controller in game, when we try to load it with Quick Save(F2) or Persist Save(F4) after changing games or after reboot . The bug can be seen if we save the game with Quick Save or Persist Save , then load another game. And then again we decide to return to the saved game. Keyboard control is retained, but the ability to control wii-remote in the game is lost. We have same result when we turn off the device after saving with Persist Save , and then turn it on - wii-remote not work in saved game, after reboot. Perhaps this is related to the fact that we prescribe the config for each of the games. But save state creates a copy of the game (without config-file) and probably with a different name? Fix this moment please. And thank you very much for the great opportunity to control with wii controller and save in games! This is a very handy emulator! :)