Rewrite size for fixed size buffers (#1808)
This commit is contained in:
parent
06057a99a6
commit
74aa7b20be
7 changed files with 26 additions and 21 deletions
|
@ -41,7 +41,7 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
|
|||
// GetAccountId() -> nn::account::NetworkServiceAccountId
|
||||
public ResultCode GetAccountId(ServiceCtx context)
|
||||
{
|
||||
// NOTE: This opens the file at "su/baas/USERID_IN_UUID_STRING.dat" (where USERID_IN_UUID_STRING is formatted
|
||||
// NOTE: This opens the file at "su/baas/USERID_IN_UUID_STRING.dat" (where USERID_IN_UUID_STRING is formatted
|
||||
// as "%08x-%04x-%04x-%02x%02x-%08x%04x") in the account:/ savedata.
|
||||
// Then it searches the NetworkServiceAccountId related to the UserId in this file and returns it.
|
||||
|
||||
|
@ -122,6 +122,8 @@ namespace Ryujinx.HLE.HOS.Services.Account.Acc
|
|||
|
||||
context.ResponseData.Write(NetworkServiceAccountId);
|
||||
|
||||
context.Response.PtrBuff[0] = context.Response.PtrBuff[0].WithSize(0L);
|
||||
|
||||
// TODO: determine and fill the two output IPC buffers.
|
||||
|
||||
return ResultCode.Success;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue