mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-21 17:45:11 +00:00
Use unix timestamps on GetFileTimeStampRaw (#6169)
This commit is contained in:
parent
34a9922b57
commit
9a28ba72b1
1 changed files with 6 additions and 1 deletions
|
@ -186,7 +186,12 @@ namespace Ryujinx.HLE.FileSystem
|
|||
|
||||
public void InitializeFsServer(LibHac.Horizon horizon, out HorizonClient fsServerClient)
|
||||
{
|
||||
LocalFileSystem serverBaseFs = new(AppDataManager.BaseDirPath);
|
||||
LocalFileSystem serverBaseFs = new(useUnixTimeStamps: true);
|
||||
Result result = serverBaseFs.Initialize(AppDataManager.BaseDirPath, LocalFileSystem.PathMode.DefaultCaseSensitivity, ensurePathExists: true);
|
||||
if (result.IsFailure())
|
||||
{
|
||||
throw new HorizonResultException(result, "Error creating LocalFileSystem.");
|
||||
}
|
||||
|
||||
fsServerClient = horizon.CreatePrivilegedHorizonClient();
|
||||
var fsServer = new FileSystemServer(fsServerClient);
|
||||
|
|
Loading…
Reference in a new issue