Fix persistent save data getting loaded before mods. (#1505)

This commit is contained in:
Skyth (Asilkan) authored and GitHub committed 2025-04-03 18:14:29 +03:00
1 parent 21be4e17fb
commit ff5aae2595
1 file changed
+3 -3
+3 -3
View File
@@ -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);