Rewrite size for fixed size buffers (#1808)

This commit is contained in:
gdkchan 2020-12-12 00:06:20 -03:00 committed by GitHub
parent 46c3e795b4
commit 5a284cf0d8
7 changed files with 26 additions and 21 deletions

View file

@ -30,6 +30,11 @@ namespace Ryujinx.HLE.HOS.Ipc
Size = (ushort)(word0 >> 16);
}
public IpcPtrBuffDesc WithSize(long size)
{
return new IpcPtrBuffDesc(Position, Index, size);
}
public uint GetWord0()
{
uint word0;