Commit Graph

36 Commits

Author SHA1 Message Date
Maschell
0847b2e901 Avoid try catch 2022-01-21 18:53:06 +01:00
Maschell
124b73a5fe Various small cleanups and logs 2022-01-21 18:52:58 +01:00
Maschell
0f069ac840 Remove unused imports 2022-01-21 18:52:13 +01:00
Maschell
00fe4bc284 Make sure _start is at the beginning of the .text section. 2022-01-21 18:51:56 +01:00
Maschell
923b43072c Move code to 0x00808000 2022-01-21 18:50:57 +01:00
Maschell
fb32aec5b7 Only do logging when built with make DEBUG=1 2022-01-21 18:49:29 +01:00
Maschell
98e3c0882b Remove duplicated do_start, return the recturn code from payload.rpx 2021-12-30 16:01:06 +01:00
Maschell
9aa4f34190 Cleanup memory before calling the .rpx 2021-12-30 15:26:23 +01:00
Maschell
9837a8457f Move the code to a different memory location to not interfere with the HBL sd_loader 2021-12-30 15:26:06 +01:00
Maschell
57163d6103 Formatting 2021-09-23 18:30:08 +02:00
Maschell
ba389535a9 Code cleanup 2021-09-18 12:10:58 +02:00
Maschell
c225cc7f25 Fix R_PPC_REL24 relocations 2021-09-18 12:06:32 +02:00
Maschell
033c9e52d1 Compile with latest wut version 2021-04-14 19:36:39 +02:00
Maschell
0e275257e5 Make sure to not leak any memory 2021-01-01 20:01:28 +01:00
Maschell
21a8f3f378 Fix doProcUi check when there are more than one arg 2021-01-01 20:00:50 +01:00
Maschell
6529ea36f4 Display user selection if no default user is set. 2020-11-26 21:14:37 +01:00
Maschell
4f208ba8a6 Save the current titleId when executing the payload.elf 2020-10-19 00:22:25 +02:00
Maschell
8498757a87 On error, show a splash screen 2020-10-19 00:21:59 +02:00
Maschell
e5b03975f1 Fix the maximum size check of the payload.rpx 2020-10-19 00:19:04 +02:00
Maschell
f93fc73ace Revert the mainhook on error 2020-10-19 00:16:45 +02:00
Maschell
8b01f5ca75 Don't run the ProcUI setup if payload.rpx failes and the payload.elf was loaded via H&S 2020-10-19 00:15:44 +02:00
Maschell
84e3764447 Fix module loading 2020-10-19 00:12:19 +02:00
Maschell
d92144561e Improve logging 2020-08-26 11:38:15 +02:00
Maschell
a9ab6078c8 Fix compiler warnings 2020-08-23 13:06:39 +02:00
Maschell
09d6b9f756 Allocate objects on stack instead of heap 2020-08-23 13:06:32 +02:00
Maschell
598642e970 Add missing pragma once 2020-08-23 13:02:21 +02:00
Maschell
2a26482bdd Removed unused code 2020-08-23 13:01:42 +02:00
Maschell
6feeed4a53 Update or add license header 2020-08-23 12:59:52 +02:00
Maschell
cd0ec54a9b Use WHB for logging 2020-08-23 10:46:23 +02:00
Maschell
a1267cc821 Formatting 2020-08-23 10:44:14 +02:00
Maschell
2be0d57e40 Adapt to devkitPPC r37 2020-06-12 13:09:00 +02:00
Maschell
a941429f88 - Use the(de)-init functions from libwut to handle logging, sd access and memory.
- Adapt logging to WHBLogPrintf
2020-05-28 20:53:27 +02:00
Maschell
8c1c3e91e3 Move the loaded .rpx into the end of the memory area 2020-04-27 19:01:11 +02:00
Maschell
acc4c6cdbf Copy BAT hook to the end of our memory area 2020-04-27 18:35:24 +02:00
Maschell
3cd6ff16e7 Removed unused code 2020-04-27 18:35:01 +02:00
Maschell
7ed1cee873 first commit 2020-04-27 13:32:37 +02:00