aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx.Core/OsHle/Services/Vi
diff options
context:
space:
mode:
authorgdkchan <gab.dark.100@gmail.com>2018-03-15 21:06:24 -0300
committerGitHub <noreply@github.com>2018-03-15 21:06:24 -0300
commit79a59397349b40758fc75cd2e19c67726a77e975 (patch)
tree4597fcdf8d8d6886df88c00650b7d924c7fc16fe /Ryujinx.Core/OsHle/Services/Vi
parent92f47d535e7c3b350c25499dec5e91d8be5544bc (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/Services/Vi')
-rw-r--r--Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs b/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs
index b24a773b..beccbe7d 100644
--- a/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs
+++ b/Ryujinx.Core/OsHle/Services/Vi/IHOSBinderDriver.cs
@@ -35,7 +35,7 @@ namespace Ryujinx.Core.OsHle.IpcServices.Vi
long DataPos = Context.Request.SendBuff[0].Position;
long DataSize = Context.Request.SendBuff[0].Size;
- byte[] Data = AMemoryHelper.ReadBytes(Context.Memory, DataPos, (int)DataSize);
+ byte[] Data = AMemoryHelper.ReadBytes(Context.Memory, DataPos, DataSize);
Data = Parcel.GetParcelData(Data);
@@ -66,9 +66,9 @@ namespace Ryujinx.Core.OsHle.IpcServices.Vi
Dispose(true);
}
- protected virtual void Dispose(bool disposing)
+ protected virtual void Dispose(bool Disposing)
{
- if (disposing)
+ if (Disposing)
{
Flinger.Dispose();
}