mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-11-26 15:03:31 +00:00
hle: Fix session limits for srv: and soc:U. (#7160)
This commit is contained in:
parent
3b31720c4d
commit
88cc6acb4d
|
@ -286,7 +286,7 @@ void SRV::RegisterService(Kernel::HLERequestContext& ctx) {
|
||||||
rb.PushMoveObjects(port.Unwrap());
|
rb.PushMoveObjects(port.Unwrap());
|
||||||
}
|
}
|
||||||
|
|
||||||
SRV::SRV(Core::System& system) : ServiceFramework("srv:", 4), system(system) {
|
SRV::SRV(Core::System& system) : ServiceFramework("srv:", 64), system(system) {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
{0x0001, &SRV::RegisterClient, "RegisterClient"},
|
{0x0001, &SRV::RegisterClient, "RegisterClient"},
|
||||||
|
|
|
@ -1790,7 +1790,7 @@ void SOC_U::GetNameInfoImpl(Kernel::HLERequestContext& ctx) {
|
||||||
rb.PushStaticBuffer(std::move(serv), 1);
|
rb.PushStaticBuffer(std::move(serv), 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
SOC_U::SOC_U() : ServiceFramework("soc:U") {
|
SOC_U::SOC_U() : ServiceFramework("soc:U", 18) {
|
||||||
static const FunctionInfo functions[] = {
|
static const FunctionInfo functions[] = {
|
||||||
// clang-format off
|
// clang-format off
|
||||||
{0x0001, &SOC_U::InitializeSockets, "InitializeSockets"},
|
{0x0001, &SOC_U::InitializeSockets, "InitializeSockets"},
|
||||||
|
|
Loading…
Reference in a new issue