From ba6865b570666bf63e0fe8f8954d108cd4addf8f Mon Sep 17 00:00:00 2001 From: Vicki Pfau Date: Wed, 26 Apr 2023 01:05:11 -0700 Subject: [PATCH] mGUI: Enable auto-softpatching (closes #2899) --- CHANGES | 1 + src/feature/gui/gui-runner.c | 1 + 2 files changed, 2 insertions(+) diff --git a/CHANGES b/CHANGES index 9bb1489a9..ed9e04162 100644 --- a/CHANGES +++ b/CHANGES @@ -14,6 +14,7 @@ Misc: - Core: Handle relative paths for saves, screenshots, etc consistently (fixes mgba.io/i/2826) - GB Serialize: Add missing savestate support for MBC6 and NT (newer) - GBA: Improve detection of valid ELF ROMs + - mGUI: Enable auto-softpatching (closes mgba.io/i/2899) - Scripting: Add `callbacks:oneshot` for single-call callbacks 0.10.2: (2023-04-23) diff --git a/src/feature/gui/gui-runner.c b/src/feature/gui/gui-runner.c index 140e5f637..28c3bd74e 100644 --- a/src/feature/gui/gui-runner.c +++ b/src/feature/gui/gui-runner.c @@ -456,6 +456,7 @@ void mGUIRun(struct mGUIRunner* runner, const char* path) { mLOG(GUI_RUNNER, DEBUG, "Loading save..."); mCoreAutoloadSave(runner->core); mCoreAutoloadCheats(runner->core); + mCoreAutoloadPatch(runner->core); if (runner->setup) { mLOG(GUI_RUNNER, DEBUG, "Setting up runner..."); runner->setup(runner);