dborth / vbagx

Visual Boy Advance GX
http://wiibrew.org/wiki/Visual_Boy_Advance_GX
292 stars 36 forks source link

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

Closed saulfabregwiivc closed 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.

Like for FCEUGX, 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 VBAGX we won't need a separated build with disabled Turbo Mode, will need only to manually enable/disable it on Video Settings.