mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-07-17 20:56:30 +02:00
Revert "Structural and Memory Safety Improvements, Analyzer Cleanup (ryubing/ryujinx!47)"
This reverts merge request !47
This commit is contained in:
parent
faf9e3cdd7
commit
77a797f154
307 changed files with 1245 additions and 1016 deletions
|
@ -119,6 +119,7 @@ namespace Ryujinx.Ava
|
|||
=> ProcessUnhandledException(sender, e.Exception, false);
|
||||
AppDomain.CurrentDomain.ProcessExit += (_, _) => Exit();
|
||||
|
||||
|
||||
// Setup base data directory.
|
||||
AppDataManager.Initialize(CommandLineState.BaseDirPathArg);
|
||||
|
||||
|
@ -159,6 +160,7 @@ namespace Ryujinx.Ava
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
public static string GetDirGameUserConfig(string gameId, bool changeFolderForGame = false)
|
||||
{
|
||||
if (string.IsNullOrEmpty(gameId))
|
||||
|
@ -219,7 +221,10 @@ namespace Ryujinx.Ava
|
|||
}
|
||||
|
||||
// When you first load the program, copy to remember the path for the global configuration
|
||||
GlobalConfigurationPath ??= ConfigurationPath;
|
||||
if (GlobalConfigurationPath == null)
|
||||
{
|
||||
GlobalConfigurationPath = ConfigurationPath;
|
||||
}
|
||||
|
||||
UseHardwareAcceleration = ConfigurationState.Instance.EnableHardwareAcceleration;
|
||||
|
||||
|
@ -337,6 +342,7 @@ namespace Ryujinx.Ava
|
|||
log.PrintMsg(LogClass.Application, message);
|
||||
}
|
||||
|
||||
|
||||
if (isTerminating)
|
||||
Exit();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue