libretro / vice-libretro

Versatile Commodore 8-bit Emulator
GNU General Public License v2.0
40 stars 70 forks source link

Joyport fix + cleanup #348

Closed sonninnos closed 3 years ago

sonninnos commented 3 years ago

Fixed fire button issue in "The Detective Game".

Apparently totally bypassing the internal joystick function causes the button to not work randomly. But using the internal function with the default random delay the input is often delayed to the next frame, which is unacceptable as well. Random delay changed to a reasonable calculation, which seems to suit both needs.