diff options
| author | gdkchan <gab.dark.100@gmail.com> | 2018-03-15 21:06:24 -0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-03-15 21:06:24 -0300 |
| commit | 79a59397349b40758fc75cd2e19c67726a77e975 (patch) | |
| tree | 4597fcdf8d8d6886df88c00650b7d924c7fc16fe /Ryujinx.Core/OsHle/Ipc | |
| parent | 92f47d535e7c3b350c25499dec5e91d8be5544bc (diff) | |
Improvements to audout (#58)
* Some audout refactoring and improvements
* More audio improvements
* Change ReadAsciiString to use long for the Size, avoids some casting
Diffstat (limited to 'Ryujinx.Core/OsHle/Ipc')
| -rw-r--r-- | Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs b/Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs index d39f78db..4eb15b9d 100644 --- a/Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs +++ b/Ryujinx.Core/OsHle/Ipc/IpcPtrBuffDesc.cs @@ -6,7 +6,7 @@ namespace Ryujinx.Core.OsHle.Ipc { public long Position { get; private set; } public int Index { get; private set; } - public short Size { get; private set; } + public long Size { get; private set; } public IpcPtrBuffDesc(BinaryReader Reader) { @@ -20,7 +20,7 @@ namespace Ryujinx.Core.OsHle.Ipc Index = ((int)Word0 >> 0) & 0x03f; Index |= ((int)Word0 >> 3) & 0x1c0; - Size = (short)(Word0 >> 16); + Size = (ushort)(Word0 >> 16); } } }
\ No newline at end of file |
