mirror of
https://github.com/hedge-dev/UnleashedRecomp.git
synced 2025-04-28 21:37:58 +03:00
Fix persistent save data getting loaded before mods. (#1505)
This commit is contained in:
parent
21be4e17fb
commit
ff5aae2595
1 changed files with 3 additions and 3 deletions
|
@ -237,9 +237,6 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
Config::Load();
|
Config::Load();
|
||||||
|
|
||||||
if (!PersistentStorageManager::LoadBinary())
|
|
||||||
LOGFN_ERROR("Failed to load persistent storage binary... (status code {})", (int)PersistentStorageManager::BinStatus);
|
|
||||||
|
|
||||||
if (forceInstallationCheck)
|
if (forceInstallationCheck)
|
||||||
{
|
{
|
||||||
// Create the console to show progress to the user, otherwise it will seem as if the game didn't boot at all.
|
// Create the console to show progress to the user, otherwise it will seem as if the game didn't boot at all.
|
||||||
|
@ -342,6 +339,9 @@ int main(int argc, char *argv[])
|
||||||
|
|
||||||
ModLoader::Init();
|
ModLoader::Init();
|
||||||
|
|
||||||
|
if (!PersistentStorageManager::LoadBinary())
|
||||||
|
LOGFN_ERROR("Failed to load persistent storage binary... (status code {})", (int)PersistentStorageManager::BinStatus);
|
||||||
|
|
||||||
KiSystemStartup();
|
KiSystemStartup();
|
||||||
|
|
||||||
uint32_t entry = LdrLoadModule(modulePath);
|
uint32_t entry = LdrLoadModule(modulePath);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue