libretro / libretro/RetroArch

Throttle speed gets reset when retroarch loses focus [Windows 11]

Open
#17,050 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C
Stars
14.1k
Forks
2.2k
Avg merge
7h 35m
Merged PRs (30d)
51

Description

Description

Changing the focus from the window of retroarch while the throttle (fast-forward) is enabled sets the throttle to 2.0x when focus returns to the game window, no matter the actual value of the throttle.

Expected behavior

The throttle value should not change when switching focus from the window of retroarch to another application and back to retroarch since it was never modified in the settings.

Actual behavior

The throttle instead seems to be capping the speed up at 2.0x and changes without settings being changed, when switching focus from the window of retroarch to another application and back to retroarch.

Steps to reproduce the bug
  1. Load content
  2. Set the throttle to some non 0.0 - 2.0x value (3.0x, 4.0x, 5.0x...etc)
  3. Enable the throttle
  4. Change the focus from the retroarch window to another window
  5. Return to the retroarch window
  6. The throttle will now cap at 2.0x rate. (~120FPS)
Bisect Results

Fresh install on current release, no modifications, only tested using mGba core but reproducible on other cores too.

Version/Commit

You can find this information under Information/System Information

  • RetroArch: 427e3fa6f6
Environment information
  • OS: Windows 11

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file or test is named. First reproduce the issue on Windows 11 using the listed steps, then trace how window-focus changes interact with throttle handling. Done means returning focus leaves a configured throttle above 2.0x unchanged, including with the mGBA core and other cores.

Written by the indexing model from the issue text.

Assessment

Tech stack
c
Domain
desktop-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.