From b70b5c3b870bb12c261b8e5749d97392fd9435a7 Mon Sep 17 00:00:00 2001 From: Skyth <19259897+blueskythlikesclouds@users.noreply.github.com> Date: Thu, 3 Apr 2025 18:00:10 +0300 Subject: [PATCH] Fix persistent save data getting loaded before mods. --- UnleashedRecomp/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/UnleashedRecomp/main.cpp b/UnleashedRecomp/main.cpp index 04e3fb1..e8123b3 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);