Skip to content

Stop repatching retroarch.cfg on every launch - #1945

Open
robcodedev wants to merge 1 commit into
OnionUI:v4.5-devfrom
robcodedev:retroarch-config-fast-path
Open

Stop repatching retroarch.cfg on every launch#1945
robcodedev wants to merge 1 commit into
OnionUI:v4.5-devfrom
robcodedev:retroarch-config-fast-path

Conversation

@robcodedev

Copy link
Copy Markdown

Problem

force_retroarch_cfg runs patch_ra_cfg.sh on every game launch, rewriting the config even when network_cmd_enable is already set.

What this does

Checks for the setting first and returns early. The check still runs per launch, so if RetroArch rewrites its config on exit we repatch on the next one.

patch_ra_cfg.sh ran on every game launch whether or not
network_cmd_enable was already set. Check first and bail.

Still checks per launch, so if RetroArch rewrites its config on exit we
catch it next time.
Copilot AI added a commit to Amiga500/Onion that referenced this pull request Sep 9, 2026
…1943 OnionUI#1944 OnionUI#1945 OnionUI#1946 (runtime.sh, keymon, lt.lang)

Co-authored-by: Amiga500 <16525337+Amiga500@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant