mirror of
https://git.ryujinx.app/ryubing/ryujinx.git
synced 2025-09-10 11:55:16 +00:00
Fix nn::ec::detail::PurchasedProductInfo to return No purchase information... (ryubing/ryujinx!114)
See merge request ryubing/ryujinx!114
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -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
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user