From 8717f990ab240f71816cf4482099138e5f952b72 Mon Sep 17 00:00:00 2001 From: SciresM Date: Thu, 24 Jan 2019 08:36:45 -0800 Subject: [PATCH] Grant access to svcCallSecureMonitor --- hbl.json | 5 +++-- source/main.c | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/hbl.json b/hbl.json index 140c148..ad930be 100644 --- a/hbl.json +++ b/hbl.json @@ -136,7 +136,8 @@ "svcUnmapProcessMemory": "0x75", "svcQueryProcessMemory": "0x76", "svcMapProcessCodeMemory": "0x77", - "svcUnmapProcessCodeMemory": "0x78" + "svcUnmapProcessCodeMemory": "0x78", + "svcCallSecureMonitor": "0x7F" } }, { @@ -159,4 +160,4 @@ } } ] -} \ No newline at end of file +} diff --git a/source/main.c b/source/main.c index 4dd7d4d..60abdc5 100644 --- a/source/main.c +++ b/source/main.c @@ -370,7 +370,7 @@ void loadNro(void) { EntryType_Argv, 0, {0, 0} }, { EntryType_NextLoadPath, 0, {0, 0} }, { EntryType_LastLoadResult, 0, {0, 0} }, - { EntryType_SyscallAvailableHint, 0, {0xffffffffffffffff, 0x1fc1fff0007ffff} }, + { EntryType_SyscallAvailableHint, 0, {0xffffffffffffffff, 0x9fc1fff0007ffff} }, { EntryType_RandomSeed, 0, {0, 0} }, { EntryType_EndOfList, 0, {0, 0} } };