Commit Graph

54 Commits

Author SHA1 Message Date
Maschell
187bfdac65 Use a properly aligned buffer for reading files 2022-03-05 22:01:11 +01:00
Maschell
9bd3108fad Update the Dockerfile to use the latest devkitppc and wut version 2022-02-13 13:58:33 +01:00
Maschell
db9e908226 Read the payload.rpx with a properly aligned buffer, fix some missing free calls 2022-02-13 13:58:33 +01:00
Maschell
9e96647469 Update .clang-format to update the comment, macro and assignment formatting 2022-02-03 13:55:24 +01:00
Maschell
e5ead1af44
Format the code via clang-format (#1) 2022-02-02 19:42:35 +01:00
Maschell
4e29e33931 Move logging into a separate file 2022-01-30 13:53:29 +01:00
Maschell
a9616036f9 [CI] Change asset content_type to zip 2022-01-23 22:25:20 +01:00
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
1f14ff54a6 Update the README 2021-12-31 15:16:20 +01:00
Maschell
27848b7a8b Update the Dockerfile to use the latest wut 2021-12-30 16:13:19 +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
96861562c7 Update Dockerfile 2021-09-23 18:30:25 +02: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
d558d7846e Update Dockerfile to use the latest version of devkitppc 2021-09-17 16:18:39 +02:00
Maschell
102a0aa1a5 Mention ppc-portlibs in readme 2021-09-01 12:18:33 +02:00
Maschell
033c9e52d1 Compile with latest wut version 2021-04-14 19:36:39 +02:00
Maschell
54d6d02c3e Update the Dockerfile to use the latest devkitppc image 2021-01-01 20:02:03 +01: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
1d91016696 [Workflow] Use Environment Files instead of ::set-env 2020-11-26 21:26:08 +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
b838b59421 Add Github action workflows for CI 2020-08-12 17:51:42 +02:00
Maschell
684f1ea689 [Docker] Use latest devkitPPC 2020-08-12 17:51:37 +02:00
Maschell
f8bb5e97f7 Add dockerfile 2020-06-25 18:48:21 +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