From ff5aae2595f47b7ab4706c127153ad589048fe5f Mon Sep 17 00:00:00 2001 From: "Skyth (Asilkan)" <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Thu, 3 Apr 2025 18:14:29 +0300 Subject: [PATCH] Fix persistent save data getting loaded before mods. (#1505) --- UnleashedRecomp/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UnleashedRecomp/main.cpp b/UnleashedRecomp/main.cpp index 04e3fb10..e8123b38 100644 --- a/UnleashedRecomp/main.cpp +++ b/UnleashedRecomp/main.cpp @@ -236,9 +236,6 @@ int main(int argc, char *argv[]) } Config::Load(); - - if (!PersistentStorageManager::LoadBinary()) - LOGFN_ERROR("Failed to load persistent storage binary... (status code {})", (int)PersistentStorageManager::BinStatus); if (forceInstallationCheck) { @@ -342,6 +339,9 @@ int main(int argc, char *argv[]) ModLoader::Init(); + if (!PersistentStorageManager::LoadBinary()) + LOGFN_ERROR("Failed to load persistent storage binary... (status code {})", (int)PersistentStorageManager::BinStatus); + KiSystemStartup(); uint32_t entry = LdrLoadModule(modulePath);