address nits

This commit is contained in:
emmaus 2018-11-09 21:35:45 +00:00
commit 6a060b03f8

View file

@ -29,9 +29,9 @@ namespace Ryujinx.HLE.HOS.Services.Aoc
// CountAddOnContent(u64, pid) -> i32 // CountAddOnContent(u64, pid) -> i32
public static long CountAddOnContent(ServiceCtx Context) public static long CountAddOnContent(ServiceCtx Context)
{ {
Context.ResponseData.Write(0); Context.ResponseData.Write((long)0);
Logger.PrintStub(LogClass.ServiceAoc, "Stubbed."); Logger.PrintStub(LogClass.ServiceAoc, "Stubbed. Count: 0");
return 0; return 0;
} }
@ -39,16 +39,16 @@ namespace Ryujinx.HLE.HOS.Services.Aoc
// ListAddOnContent(i32, i32, u64, pid) -> (i32, array<i32, 6>) // ListAddOnContent(i32, i32, u64, pid) -> (i32, array<i32, 6>)
public static long ListAddOnContent(ServiceCtx Context) public static long ListAddOnContent(ServiceCtx Context)
{ {
Logger.PrintStub(LogClass.ServiceAoc, "Stubbed."); Logger.PrintStub(LogClass.ServiceAoc, "Stubbed. Count: 0");
//TODO: This is supposed to write a u32 array aswell. // TODO: This is supposed to write a u32 array aswell.
//It's unknown what it contains. // It's unknown what it contains.
Context.ResponseData.Write(0); Context.ResponseData.Write(0);
return 0; return 0;
} }
// GetAddOnContentListChangedEvent() // GetAddOnContentListChangedEvent() -> KObject
public long GetAddOnContentListChangedEvent(ServiceCtx Context) public long GetAddOnContentListChangedEvent(ServiceCtx Context)
{ {
if (Context.Process.HandleTable.GenerateHandle(AddOnContentListChangedEvent, out int Handle) != KernelResult.Success) if (Context.Process.HandleTable.GenerateHandle(AddOnContentListChangedEvent, out int Handle) != KernelResult.Success)