Use new ServiceNotImplementedException

This commit is contained in:
jduncanator 2019-01-14 10:15:05 +11:00
commit 6c3b1b6b51

View file

@ -1,4 +1,5 @@
using Ryujinx.Common.Logging; using Ryujinx.Common.Logging;
using Ryujinx.HLE.Exceptions;
using Ryujinx.HLE.HOS.Ipc; using Ryujinx.HLE.HOS.Ipc;
using Ryujinx.HLE.Utilities; using Ryujinx.HLE.Utilities;
using System; using System;
@ -125,19 +126,19 @@ namespace Ryujinx.HLE.HOS.Services.Mii
// IsFullDatabase() -> bool // IsFullDatabase() -> bool
private long IsFullDatabase(ServiceCtx context) private long IsFullDatabase(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
// GetCount(i32) -> i32 // GetCount(i32) -> i32
private long GetCount(ServiceCtx context) private long GetCount(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
// Get(i32) -> (i32, array<nn::mii::CharInfoElement, 6>) // Get(i32) -> (i32, array<nn::mii::CharInfoElement, 6>)
private long Get(ServiceCtx context) private long Get(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
// Get1(i32) -> (i32, array<nn::mii::CharInfo, 6>) // Get1(i32) -> (i32, array<nn::mii::CharInfo, 6>)
@ -155,12 +156,12 @@ namespace Ryujinx.HLE.HOS.Services.Mii
private long UpdateLatest(ServiceCtx context) private long UpdateLatest(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long BuildRandom(ServiceCtx context) private long BuildRandom(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
// BuildDefault(i32) -> nn::mii::CharInfo // BuildDefault(i32) -> nn::mii::CharInfo
@ -242,72 +243,72 @@ namespace Ryujinx.HLE.HOS.Services.Mii
private long Get2(ServiceCtx context) private long Get2(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long Get3(ServiceCtx context) private long Get3(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long UpdateLatest1(ServiceCtx context) private long UpdateLatest1(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long FindIndex(ServiceCtx context) private long FindIndex(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long Move(ServiceCtx context) private long Move(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long AddOrReplace(ServiceCtx context) private long AddOrReplace(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long Delete(ServiceCtx context) private long Delete(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long DestroyFile(ServiceCtx context) private long DestroyFile(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long DeleteFile(ServiceCtx context) private long DeleteFile(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long Format(ServiceCtx context) private long Format(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long Import(ServiceCtx context) private long Import(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long Export(ServiceCtx context) private long Export(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long IsBrokenDatabaseWithClearFlag(ServiceCtx context) private long IsBrokenDatabaseWithClearFlag(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
private long GetIndex(ServiceCtx context) private long GetIndex(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
// SetInterfaceVersion(u32) // SetInterfaceVersion(u32)
@ -322,7 +323,7 @@ namespace Ryujinx.HLE.HOS.Services.Mii
private long Convert(ServiceCtx context) private long Convert(ServiceCtx context)
{ {
throw new NotImplementedException(); throw new ServiceNotImplementedException(context);
} }
} }
} }