mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2026-09-08 13:11:02 +00:00
Merge pull request 'Service: Add AliasRegionExtraSize' (#22) from JPikachu/eden:master into master
Reviewed-on: https://git.eden-emu.dev/eden-emu/eden/pulls/22
This commit is contained in:
@@ -37,7 +37,8 @@ Result GetInfo(Core::System& system, u64* result, InfoType info_id_type, Handle
|
|||||||
case InfoType::TotalNonSystemMemorySize:
|
case InfoType::TotalNonSystemMemorySize:
|
||||||
case InfoType::UsedNonSystemMemorySize:
|
case InfoType::UsedNonSystemMemorySize:
|
||||||
case InfoType::IsApplication:
|
case InfoType::IsApplication:
|
||||||
case InfoType::FreeThreadCount: {
|
case InfoType::FreeThreadCount:
|
||||||
|
case InfoType::AliasRegionExtraSize: {
|
||||||
R_UNLESS(info_sub_id == 0, ResultInvalidEnumValue);
|
R_UNLESS(info_sub_id == 0, ResultInvalidEnumValue);
|
||||||
|
|
||||||
const auto& handle_table = GetCurrentProcess(system.Kernel()).GetHandleTable();
|
const auto& handle_table = GetCurrentProcess(system.Kernel()).GetHandleTable();
|
||||||
@@ -134,6 +135,10 @@ Result GetInfo(Core::System& system, u64* result, InfoType info_id_type, Handle
|
|||||||
}
|
}
|
||||||
R_SUCCEED();
|
R_SUCCEED();
|
||||||
|
|
||||||
|
case InfoType::AliasRegionExtraSize:
|
||||||
|
// TODO (jarrodnorwell): do this when KIP's NPDM header is finished
|
||||||
|
R_SUCCEED();
|
||||||
|
|
||||||
default:
|
default:
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -153,6 +153,7 @@ enum class InfoType : u32 {
|
|||||||
ThreadTickCount = 25,
|
ThreadTickCount = 25,
|
||||||
IsSvcPermitted = 26,
|
IsSvcPermitted = 26,
|
||||||
IoRegionHint = 27,
|
IoRegionHint = 27,
|
||||||
|
AliasRegionExtraSize = 28,
|
||||||
|
|
||||||
MesosphereMeta = 65000,
|
MesosphereMeta = 65000,
|
||||||
MesosphereCurrentProcess = 65001,
|
MesosphereCurrentProcess = 65001,
|
||||||
|
|||||||
Reference in New Issue
Block a user