FspSrv improvements, also fix ImageEnd for NROs without a MOD0 section
This commit is contained in:
parent
3696255457
commit
b2f733da78
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