Completely remove static methods inside Ipc interfaces, also remove GetObject method from ServiceCtx as it is no longer needed with this change

This commit is contained in:
gdkchan 2018-02-09 23:31:26 -03:00
parent 3d0b4d345f
commit 276f9f6d48
5 changed files with 41 additions and 74 deletions

View file

@ -25,9 +25,7 @@ namespace Ryujinx.OsHle.Objects.Am
public long Open(ServiceCtx Context)
{
IStorage Storage = Context.GetObject<IStorage>();
MakeObject(Context, new IStorageAccessor(Storage));
MakeObject(Context, new IStorageAccessor(this));
return 0;
}