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
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue