libretro / flycast

Flycast is a multiplatform Sega Dreamcast emulator. NOTE: No longer actively developed, use upstream repo for libretro from now on - https://github.com/flyinghead/flycast
http://reicast.com
GNU General Public License v2.0
155 stars 77 forks source link

Improve off-screen reload with lightgun #959

Closed pjft closed 3 years ago

pjft commented 3 years ago

This seems to improve (fix?) offscreen reload with an actual lightgun in games such as House of the Dead 2, Confidential Mission, etc.

Very much based on the work from @MrLightgun . House of the Dead 2 and Confidential Mission could only reload when pressing a separate button, whereas now it works when aiming offscreen (or, with the mouse, to the edge of the screen).

Happy to hear if there's anything I'm missing in these changes, or any unnecessary or unintended side-effect, but should be working here.