diff --git a/ovll.json b/ovll.json index 46ab274..9281e7a 100644 --- a/ovll.json +++ b/ovll.json @@ -1,8 +1,8 @@ { "name": "ovlloader", - "title_id": "0x010000000007E51A", - "title_id_range_min": "0x010000000007E51A", - "title_id_range_max": "0x010000000007E51A", + "title_id": "0x420000000007E51A", + "title_id_range_min": "0x420000000007E51A", + "title_id_range_max": "0x420000000007E51A", "main_thread_stack_size": "0x10000", "main_thread_priority": 49, "default_cpu_id": 3, diff --git a/source/main.c b/source/main.c index 48ded67..bbe5538 100644 --- a/source/main.c +++ b/source/main.c @@ -77,7 +77,7 @@ void __wrap_exit(void) { smInitialize(); pmshellInitialize(); - pmshellTerminateProgram(0x010000000007E51A); + pmshellTerminateProgram(0x420000000007E51A); pmshellExit(); smExit(); @@ -351,11 +351,6 @@ void loadNro(void) int main(int argc, char **argv) { memcpy(g_savedTls, (u8*)armGetTls() + 0x100, 0x100); - - // Tesla exhausts service sessions which crashes qlaunch when run on a firmware lower than 9.0.0 - // Instead of crashing, gracefully kill nx-ovlloader before it causes issues - if (hosversionBefore(9,0,0)) - exit(1); setupHbHeap(); getOwnProcessHandle(); diff --git a/toolbox.json b/toolbox.json index a63728f..d4d53dc 100644 --- a/toolbox.json +++ b/toolbox.json @@ -1,5 +1,5 @@ { "name" : "Tesla", - "tid" : "010000000007E51A", + "tid" : "420000000007E51A", "requires_reboot": false } \ No newline at end of file