Implements proper save path (#386)
* initial save path implementation * fix savedatatype offset, remove incomplete createsavedata implimentation * address nits * fix crash if npdm is not found * made saveinfo readonly, other stuff * remove context param from saveinfo contructor * fix style * remove whitespace
This commit is contained in:
parent
3227218114
commit
fc77b089a6
8 changed files with 145 additions and 19 deletions
28
Ryujinx.HLE/FileSystem/SaveInfo.cs
Normal file
28
Ryujinx.HLE/FileSystem/SaveInfo.cs
Normal file
|
@ -0,0 +1,28 @@
|
|||
using Ryujinx.HLE.HOS.SystemState;
|
||||
|
||||
namespace Ryujinx.HLE.FileSystem
|
||||
{
|
||||
struct SaveInfo
|
||||
{
|
||||
public long TitleId { get; private set; }
|
||||
public long SaveId { get; private set; }
|
||||
public UserId UserId { get; private set; }
|
||||
|
||||
public SaveDataType SaveDataType { get; private set; }
|
||||
public SaveSpaceId SaveSpaceId { get; private set; }
|
||||
|
||||
public SaveInfo(
|
||||
long TitleId,
|
||||
long SaveId,
|
||||
SaveDataType SaveDataType,
|
||||
UserId UserId,
|
||||
SaveSpaceId SaveSpaceId)
|
||||
{
|
||||
this.TitleId = TitleId;
|
||||
this.UserId = UserId;
|
||||
this.SaveId = SaveId;
|
||||
this.SaveDataType = SaveDataType;
|
||||
this.SaveSpaceId = SaveSpaceId;
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue