mirror of
https://github.com/hedge-dev/UnleashedRecomp
synced 2026-05-25 23:35:36 -04:00
Redirected Install button to custom implementation
This currently fades out and closes the game upon accepting the message, it does not yet reboot into the installer menu using --install-dlc.
This commit is contained in:
+14
-1
@@ -1,11 +1,24 @@
|
||||
#include <app.h>
|
||||
#include <install/installer.h>
|
||||
#include <kernel/function.h>
|
||||
#include <ui/window.h>
|
||||
#include <patches/audio_patches.h>
|
||||
|
||||
bool g_isGameLoaded = false;
|
||||
bool g_isAppInit = false;
|
||||
bool g_isMissingDLC = false;
|
||||
|
||||
double g_deltaTime;
|
||||
|
||||
// CApplication::Ctor
|
||||
PPC_FUNC_IMPL(__imp__sub_824EB490);
|
||||
PPC_FUNC(sub_824EB490)
|
||||
{
|
||||
g_isAppInit = true;
|
||||
g_isMissingDLC = !Installer::checkAllDLC(GetGamePath());
|
||||
|
||||
__imp__sub_824EB490(ctx, base);
|
||||
}
|
||||
|
||||
// CApplication::Update
|
||||
PPC_FUNC_IMPL(__imp__sub_822C1130);
|
||||
PPC_FUNC(sub_822C1130)
|
||||
|
||||
Reference in New Issue
Block a user