Skip to content

Commit

Permalink
am: Stub GetSaveDataSizeMax()
Browse files Browse the repository at this point in the history
  • Loading branch information
TSRBerry committed Nov 16, 2022
1 parent b8de72d commit 64853a5
Showing 1 changed file with 14 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,20 @@ public ResultCode CreateCacheStorage(ServiceCtx context)
return ResultCode.Success;
}

[CommandHipc(28)] // 11.0.0+
// TODO: This is currently just a guess and needs to be confirmed
// GetSaveDataSizeMax() -> (s64 save_size_max, s64 journal_size_max)
public ResultCode GetSaveDataSizeMax(ServiceCtx context)
{

context.ResponseData.Write((long)_defaultSaveDataSize);
context.ResponseData.Write((long)_defaultJournalSaveDataSize);

Logger.Stub?.PrintStub(LogClass.ServiceAm);

return ResultCode.Success;
}

[CommandHipc(30)]
// BeginBlockingHomeButtonShortAndLongPressed()
public ResultCode BeginBlockingHomeButtonShortAndLongPressed(ServiceCtx context)
Expand Down

0 comments on commit 64853a5

Please sign in to comment.