Ipc refactor (#9)

* Start refactoring IPC objects (started with IFile and IFileSystem)

* End refactoring IPC objects (#8)

* End refactoring IPC objects

* End refactoring IPC objects

corrections
This commit is contained in:
gdkchan 2018-02-09 21:14:55 -03:00 committed by GitHub
parent 7f4a190665
commit 322f28668d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
62 changed files with 935 additions and 619 deletions

View file

@ -1,5 +1,5 @@
using ChocolArm64.Memory;
using Ryujinx.OsHle.Objects;
using Ryujinx.OsHle.Objects.Aud;
using System.Text;
using static Ryujinx.OsHle.Objects.ObjHelper;
@ -21,7 +21,7 @@ namespace Ryujinx.OsHle.Services
public static long AudOutOpenAudioOut(ServiceCtx Context)
{
MakeObject(Context, new AudIAudioOut());
MakeObject(Context, new IAudioOut());
Context.ResponseData.Write(48000); //Sample Rate
Context.ResponseData.Write(2); //Channel Count
@ -42,7 +42,7 @@ namespace Ryujinx.OsHle.Services
public static long AudRenOpenAudioRenderer(ServiceCtx Context)
{
MakeObject(Context, new AudIAudioRenderer());
MakeObject(Context, new IAudioRenderer());
return 0;
}