api: added globals struct

This commit is contained in:
Hyper
2025-01-31 02:35:00 +00:00
parent 87d2ab5af1
commit 8cba851212
9 changed files with 86 additions and 17 deletions
+4 -1
View File
@@ -1,4 +1,5 @@
#include <app.h>
#include "app.h"
#include <api/SWA.h>
#include <gpu/video.h>
#include <install/installer.h>
#include <kernel/function.h>
@@ -34,6 +35,8 @@ PPC_FUNC(sub_824EB490)
App::s_isInit = true;
App::s_isMissingDLC = !Installer::checkAllDLC(GetGamePath());
App::s_language = Config::Language;
SWA::SGlobals::Init();
Registry::Save();
__imp__sub_824EB490(ctx, base);