From 5eb8578edcbb25c30b20a6a331bc693f70ab659a Mon Sep 17 00:00:00 2001 From: Stenzek Date: Sun, 8 Jun 2025 17:08:52 +1000 Subject: [PATCH] System: Save undo state on reset --- src/core/system.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/core/system.cpp b/src/core/system.cpp index be5e8384c..062096d7c 100644 --- a/src/core/system.cpp +++ b/src/core/system.cpp @@ -1560,6 +1560,8 @@ void System::ResetSystem() if (!IsValid()) return; + SaveUndoLoadState(); + InternalReset(); // Reset boot mode/reload BIOS if needed. Preserve exe/psf boot.