Add support for cache storage (#936)
* Update LibHac * Run EnsureApplicationCacheStorage when launching a game * Add new FS commands
This commit is contained in:
parent
dc97457bf0
commit
cecbd256a5
8 changed files with 63 additions and 10 deletions
|
@ -12,6 +12,17 @@ namespace Ryujinx.HLE.HOS.Services.Fs
|
|||
_baseOperator = baseOperator;
|
||||
}
|
||||
|
||||
[Command(0)]
|
||||
// IsSdCardInserted() -> b8 is_inserted
|
||||
public ResultCode IsSdCardInserted(ServiceCtx context)
|
||||
{
|
||||
Result result = _baseOperator.IsSdCardInserted(out bool isInserted);
|
||||
|
||||
context.ResponseData.Write(isInserted);
|
||||
|
||||
return (ResultCode)result.Value;
|
||||
}
|
||||
|
||||
[Command(200)]
|
||||
// IsGameCardInserted() -> b8 is_inserted
|
||||
public ResultCode IsGameCardInserted(ServiceCtx context)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue