Fix nn::ec::detail::PurchasedProductInfo to return No purchase information... (ryubing/ryujinx!114)

See merge request ryubing/ryujinx!114
This commit is contained in:
ProIcons
2025-08-17 04:52:20 -05:00
committed by GreemDev
parent 4d8b799763
commit 37e81481c4
2 changed files with 3 additions and 1 deletions

View File

@@ -62,7 +62,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
Logger.Debug?.PrintStub(LogClass.ServiceNs); // NOTE: Uses Debug to avoid spamming. Logger.Debug?.PrintStub(LogClass.ServiceNs); // NOTE: Uses Debug to avoid spamming.
return ResultCode.Success; return ResultCode.NoPurchasedProductInfoAvailable;
} }
} }
} }

View File

@@ -2,6 +2,7 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
{ {
enum ResultCode enum ResultCode
{ {
EShopModuleId = 164,
ModuleId = 166, ModuleId = 166,
ErrorCodeShift = 9, ErrorCodeShift = 9,
@@ -9,5 +10,6 @@ namespace Ryujinx.HLE.HOS.Services.Ns.Aoc
InvalidBufferSize = (200 << ErrorCodeShift) | ModuleId, InvalidBufferSize = (200 << ErrorCodeShift) | ModuleId,
InvalidPid = (300 << ErrorCodeShift) | ModuleId, InvalidPid = (300 << ErrorCodeShift) | ModuleId,
NoPurchasedProductInfoAvailable = (400 << ErrorCodeShift) | EShopModuleId
} }
} }