Skip to content

Fix Run-Ahead/Preemptive Frames setting UI regression#18948

Merged
LibretroAdmin merged 1 commit intolibretro:masterfrom
Ryunam:fix-runahead-frames-regression
Apr 17, 2026
Merged

Fix Run-Ahead/Preemptive Frames setting UI regression#18948
LibretroAdmin merged 1 commit intolibretro:masterfrom
Ryunam:fix-runahead-frames-regression

Conversation

@Ryunam
Copy link
Copy Markdown
Contributor

@Ryunam Ryunam commented Apr 17, 2026

Description

After commit 5e46f0c, which turned most instances of menu_displaylist_build_info_selective_t build_list[] to static, the Run-Ahead frames setting was not reacting properly anymore to the user-selected Run-Ahead mode.
Namely, the "Number of Preemptive Frames" setting was being displayed next to the other options whenever switching to the Preemptive Frames mode, instead of dynamically replacing the normal Run-Ahead Frames setting in the menu.

This PR fixes the issue by tightening the conditions for the visibility of the Run-Ahead settings, so that the mutual appearance of the two options mentioned above is preserved while still retaining the static attribute.

Related Issues

Fixes #18947.

Reviewers

@LibretroAdmin

@LibretroAdmin LibretroAdmin merged commit b238b60 into libretro:master Apr 17, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants