niuus / FCEUltraRX

FCEUltra RX - A port of FCE Ultra for Wii, forked from FCEUltra GX
19 stars 3 forks source link

Add "Enable Turbo Mode" toggle to the Video Settings menu (based on InfiniteBlueGX's code) #12

Open saulfabregwiivc opened 2 years ago

saulfabregwiivc commented 2 years ago

So I got inspired by this pull request made to Snes9x GX made by @InfiniteBlueGX for add the posibility to enable or disable the Turbo Mode feature.

These changes added an option to the Video Settings menu to toggle on/off the "Turbo Mode" feature from the right analog stick. When disabled, holding the stick to the right does not activate Turbo Mode. The setting is enabled by default.

The setting is saved to XML and the user's choice persists upon application re-entry.

I had to modify a different file for make this work but it works like a charm.

This will be utile because for newer releases of FCEURX we won't need a separated build with disabled Turbo Mode, will need only to manually enable/disable it on Video Settings.