api: added globals struct

This commit is contained in:
Hyper
2025-01-12 21:28:13 +00:00
parent 023fc0edf7
commit 7788e36704
9 changed files with 126 additions and 68 deletions

View File

@@ -1,4 +1,5 @@
#include <app.h>
#include <api/SWA.h>
#include <gpu/video.h>
#include <install/installer.h>
#include <kernel/function.h>
@@ -33,6 +34,8 @@ PPC_FUNC(sub_824EB490)
App::s_isMissingDLC = !Installer::checkAllDLC(GetGamePath());
App::s_language = Config::Language;
SWA::SGlobals::Init();
__imp__sub_824EB490(ctx, base);
}