mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-15 03:21:15 +01:00
e3b36db71c
* hle: Some cleanup This PR cleaned up a bit the HLE folder and the VirtualFileSystem one, since we use LibHac, we can use some class of it directly instead of duplicate things. The "Content" of VFS folder is removed since it should be handled in the NCM service directly. A larger cleanup should be done later since there is still be duplicated code here and there. * Fix Headless.SDL2 * Addresses gdkchan feedback
26 lines
716 B
C#
26 lines
716 B
C#
using LibHac.FsSystem;
|
|
|
|
namespace Ryujinx.HLE.FileSystem
|
|
{
|
|
public struct LocationEntry
|
|
{
|
|
public string ContentPath { get; private set; }
|
|
public int Flag { get; private set; }
|
|
public ulong TitleId { get; private set; }
|
|
public NcaContentType ContentType { get; private set; }
|
|
|
|
public LocationEntry(string contentPath, int flag, ulong titleId, NcaContentType contentType)
|
|
{
|
|
ContentPath = contentPath;
|
|
Flag = flag;
|
|
TitleId = titleId;
|
|
ContentType = contentType;
|
|
}
|
|
|
|
public void SetFlag(int flag)
|
|
{
|
|
Flag = flag;
|
|
}
|
|
}
|
|
}
|