mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-27 03:21:21 -08:00
fc77b089a6
* 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
29 lines
826 B
C#
29 lines
826 B
C#
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;
|
|
}
|
|
}
|
|
}
|