fvdhoef / aquarius-plus

Official Aquarius+ repository
MIT License
43 stars 9 forks source link

Emulator - Stuck Keys when using breakpoints #70

Open MackW opened 6 months ago

MackW commented 6 months ago

Noticed a small bug in the emulator - Stuck Keys - It works great (and I think is a feature) however.. When you hit a breakpoint - keyboard input ports seem to be saved and work across the debugger. <- This is good, as you can't have a key down when you are in other widows. However - if you do a reset, they are still classed as down, and don't seem to clear until your press the key that was active

Eg - I had breakpointed out in a redefine keyboard routine (which crashed) - and had the "2" key pressed. even doing a reset aqua with mem clear etc, every time I restarted the game, it went straight to the redefine keys options (which is 2 key pressed) - Until I pressed the "2" key to clear it