From 65f8ab671f3c175179cfbc5dd73c77e43979f271 Mon Sep 17 00:00:00 2001 From: Alex Barney Date: Thu, 7 Jan 2021 20:48:31 -0700 Subject: [PATCH] Mark abstract results as such --- build/CodeGen/results.csv | 10 +++++----- src/LibHac/Sf/ResultSf.cs | 12 ++++++------ 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/build/CodeGen/results.csv b/build/CodeGen/results.csv index f27b41f5..536510ff 100644 --- a/build/CodeGen/results.csv +++ b/build/CodeGen/results.csv @@ -853,14 +853,14 @@ Module,DescriptionStart,DescriptionEnd,Flags,Name,Summary 10,301,,,OutOfDomainEntries, # These should be in the sf::impl namespace -10,800,899,,RequestContextChanged, -10,801,809,,RequestInvalidated, +10,800,899,a,RequestContextChanged, +10,801,809,a,RequestInvalidated, 10,802,,,RequestInvalidatedByUser, -10,811,819,,RequestDeferred, +10,811,819,a,RequestDeferred, 10,812,,,RequestDeferredByUser, -11,100,299,,OutOfResource, +11,100,299,a,OutOfResource, 11,102,,,OutOfSessionMemory, 11,131,139,,OutOfSessions, 11,141,,,PointerBufferTooSmall, @@ -1088,7 +1088,7 @@ Module,DescriptionStart,DescriptionEnd,Flags,Name,Summary 116,801,,,OutOfMemory, -116,900,919,,InvalidArgument, +116,900,919,a,InvalidArgument, 116,901,,,InvalidPointer, 116,902,,,OutOfRange, 116,903,,,InvalidTimeZoneBinary, diff --git a/src/LibHac/Sf/ResultSf.cs b/src/LibHac/Sf/ResultSf.cs index d38b7509..66ad7757 100644 --- a/src/LibHac/Sf/ResultSf.cs +++ b/src/LibHac/Sf/ResultSf.cs @@ -40,15 +40,15 @@ namespace LibHac.Sf /// Error code: 2010-0301; Inner value: 0x25a0a public static Result.Base OutOfDomainEntries => new Result.Base(ModuleSf, 301); - /// Error code: 2010-0800; Range: 800-899; Inner value: 0x6400a - public static Result.Base RequestContextChanged { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base(ModuleSf, 800, 899); } - /// Error code: 2010-0801; Range: 801-809; Inner value: 0x6420a - public static Result.Base RequestInvalidated { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base(ModuleSf, 801, 809); } + /// Error code: 2010-0800; Range: 800-899 + public static Result.Base.Abstract RequestContextChanged { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 800, 899); } + /// Error code: 2010-0801; Range: 801-809 + public static Result.Base.Abstract RequestInvalidated { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 801, 809); } /// Error code: 2010-0802; Inner value: 0x6440a public static Result.Base RequestInvalidatedByUser => new Result.Base(ModuleSf, 802); - /// Error code: 2010-0811; Range: 811-819; Inner value: 0x6560a - public static Result.Base RequestDeferred { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base(ModuleSf, 811, 819); } + /// Error code: 2010-0811; Range: 811-819 + public static Result.Base.Abstract RequestDeferred { [MethodImpl(MethodImplOptions.AggressiveInlining)] get => new Result.Base.Abstract(ModuleSf, 811, 819); } /// Error code: 2010-0812; Inner value: 0x6580a public static Result.Base RequestDeferredByUser => new Result.Base(ModuleSf, 812); }