mirror of
https://git.743378673.xyz/MeloNX/MeloNX.git
synced 2025-07-29 09:57:09 +02:00
FspSrv improvements, also fix ImageEnd for NROs without a MOD0 section
This commit is contained in:
parent
4d76d0e9e7
commit
af97037ba3
14 changed files with 408 additions and 196 deletions
|
@ -37,7 +37,7 @@ namespace Ryujinx.Core
|
|||
|
||||
public string GetGameSavesPath() => MakeDirAndGetFullPath(SavesPath);
|
||||
|
||||
private static string MakeDirAndGetFullPath(string Dir)
|
||||
private string MakeDirAndGetFullPath(string Dir)
|
||||
{
|
||||
string FullPath = Path.Combine(GetBasePath(), Dir);
|
||||
|
||||
|
@ -49,7 +49,12 @@ namespace Ryujinx.Core
|
|||
return FullPath;
|
||||
}
|
||||
|
||||
public static string GetBasePath()
|
||||
public DriveInfo GetDrive()
|
||||
{
|
||||
return new DriveInfo(Path.GetPathRoot(GetBasePath()));
|
||||
}
|
||||
|
||||
public string GetBasePath()
|
||||
{
|
||||
return Path.Combine(Directory.GetCurrentDirectory(), BasePath);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue