mirror of
				https://github.com/hedge-dev/UnleashedRecomp.git
				synced 2025-10-30 07:11:05 +00:00 
			
		
		
		
	Compare commits
	
		
			2 commits
		
	
	
		
			5f1e90af65
			...
			97cc5277c9
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
							 | 
						97cc5277c9 | ||
| 
							 | 
						a47d699295 | 
					 3 changed files with 11 additions and 2 deletions
				
			
		| 
						 | 
					@ -337,7 +337,14 @@ int main(int argc, char *argv[])
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        if (!InstallerWizard::Run(GetGamePath(), isGameInstalled && forceDLCInstaller))
 | 
					        if (!InstallerWizard::Run(GetGamePath(), isGameInstalled && forceDLCInstaller))
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            std::_Exit(0);
 | 
					            if (!forceDLCInstaller)
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                std::_Exit(0);
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
 | 
					            else
 | 
				
			||||||
 | 
					            {
 | 
				
			||||||
 | 
					                InstallerWizard::s_returnToTitle = true;
 | 
				
			||||||
 | 
					            }
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1,5 +1,6 @@
 | 
				
			||||||
#include <api/SWA.h>
 | 
					#include <api/SWA.h>
 | 
				
			||||||
#include <ui/game_window.h>
 | 
					#include <ui/game_window.h>
 | 
				
			||||||
 | 
					#include <ui/installer_wizard.h>
 | 
				
			||||||
#include <user/achievement_manager.h>
 | 
					#include <user/achievement_manager.h>
 | 
				
			||||||
#include <user/persistent_storage_manager.h>
 | 
					#include <user/persistent_storage_manager.h>
 | 
				
			||||||
#include <user/config.h>
 | 
					#include <user/config.h>
 | 
				
			||||||
| 
						 | 
					@ -83,7 +84,7 @@ PPC_FUNC(sub_825197C0)
 | 
				
			||||||
PPC_FUNC_IMPL(__imp__sub_82547DF0);
 | 
					PPC_FUNC_IMPL(__imp__sub_82547DF0);
 | 
				
			||||||
PPC_FUNC(sub_82547DF0)
 | 
					PPC_FUNC(sub_82547DF0)
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    if (Config::SkipIntroLogos)
 | 
					    if (Config::SkipIntroLogos || InstallerWizard::s_returnToTitle)
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        ctx.r4.u64 = 0;
 | 
					        ctx.r4.u64 = 0;
 | 
				
			||||||
        ctx.r5.u64 = 0;
 | 
					        ctx.r5.u64 = 0;
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -5,6 +5,7 @@
 | 
				
			||||||
struct InstallerWizard
 | 
					struct InstallerWizard
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    static inline bool s_isVisible = false;
 | 
					    static inline bool s_isVisible = false;
 | 
				
			||||||
 | 
					    static inline bool s_returnToTitle = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    static void Init();
 | 
					    static void Init();
 | 
				
			||||||
    static void Draw();
 | 
					    static void Draw();
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		
		Reference in a new issue