Commit Graph

48 Commits

Author SHA1 Message Date
Maschell
a8b4f7188b Format the code via clang-format 2022-02-03 20:57:25 +01:00
Maschell
2e5e3d1d2f Fix dynamic_function detection 2022-01-31 16:12:51 +01:00
Maschell
fc3eea16fb Change the layout of the release .zip 2022-01-30 16:56:52 +01:00
Maschell
96f8410612 Fix building with make DEBUG=1 2022-01-30 13:36:47 +01:00
Maschell
2db7befb4b Move logging logic into a seperate file 2022-01-24 18:52:59 +01:00
Maschell
ffd4c4f894 Only declare variables when needed 2022-01-24 18:49:31 +01:00
Maschell
c9c0aeaa2b WUMS 0.3.1 support 2022-01-24 18:48:11 +01:00
Maschell
0678949900 Remove WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK 2022-01-24 18:46:22 +01:00
Maschell
925aa353bd Avoid using the "new" operator to reduce the filesize 2022-01-12 23:07:39 +01:00
Maschell
f5f9c5f8ff Only do logging when built with make DEBUG=1 2022-01-12 23:07:09 +01:00
Maschell
37259a10d8 Fix make clean 2022-01-12 23:06:34 +01:00
Maschell
77b805a592 [CI] Fix the content_type of the release_assets 2022-01-12 23:06:20 +01:00
Maschell
5fac45e1c6 Update Dockerfile to use WUMS 0.3 2021-12-07 20:15:45 +01:00
Maschell
120f7f9943 Update Dockerfile 2021-09-24 16:47:20 +02:00
Maschell
4553a06f9b Formatting and cleanup 2021-09-24 14:49:20 +02:00
Maschell
551144ddbd Do an OSFatal if the getting the PA from EA fails 2021-09-23 23:05:15 +02:00
Maschell
dd3709ad48 Fix PA fallback calcuation 2021-09-23 23:03:48 +02:00
Maschell
38b58faf88 Reenable logging, Update Dockerfile to use WUMS 0.2 2021-09-17 18:27:12 +02:00
Maschell
ee76aba48e Compile with latest wut 2021-04-17 12:13:22 +02:00
Maschell
e92f79b976 Compile using the latest WUMS version 2021-03-13 14:03:19 +01:00
Maschell
57a932888a Reduce the amount of logged messages 2021-03-13 14:03:07 +01:00
Maschell
c8df49e85c Use WUMS_MODULE_SKIP_WUT_INIT 2021-02-19 17:10:17 +01:00
Maschell
0df40a3c25 [Workflow] Use Environment Files instead of ::set-env 2021-01-09 14:09:21 +01:00
Maschell
510c7b6b7f Update Dockerfile to use latest libkernel and libfunctionpatcher images 2021-01-09 14:07:11 +01:00
Maschell
9b5996d9a6 Update Dockerfile to use latest devkitppc and WUMS images 2021-01-09 13:57:46 +01:00
Maschell
fc9fec8d05 O0 -> O2 2020-12-28 14:45:37 +01:00
Maschell
978678675c Add FunctionPatcherRestoreDynamicFunctions 2020-12-28 14:45:28 +01:00
Maschell
e745f34b3a Rename WUMS_MODULE_INIT_BEFORE_ENTRYPOINT => WUMS_MODULE_INIT_BEFORE_RELOCATION_DONE_HOOK, add WUMS_MODULE_SKIP_ENTRYPOINT 2020-12-28 14:42:19 +01:00
Maschell
00e02a33e1 Only patch a function if the module is already loaded 2020-12-26 14:49:48 +01:00
Maschell
400c3f8f09 Add Github action workflows for CI 2020-08-12 19:58:42 +02:00
Maschell
91d856d496 [Docker] Use latest devkitPPC and lib versions 2020-08-12 19:58:20 +02:00
Maschell
73947c0a13 Fix restoring functions patches for other proccesses 2020-08-09 18:02:07 +02:00
Maschell
361f37f566 Add a Dockerfile 2020-06-27 10:43:58 +02:00
Maschell
bc9a2b63b3 Update the README 2020-06-27 10:43:49 +02:00
Maschell
43964558f2 Format the code and improve logging. 2020-06-13 16:25:39 +02:00
Maschell
1383ca2d8e Add support for "per process"-patches 2020-06-13 13:59:29 +02:00
Maschell
dcff18577f Check if we exceed the space we have available 2020-06-13 13:59:01 +02:00
Maschell
d43d097fd9 The function type is now stored as a enum 2020-06-13 13:58:34 +02:00
Maschell
6c18efef54 Check function patcher data struct before patching a function 2020-06-13 13:17:46 +02:00
Maschell
cb8e963f71 Use a ba instead of a trampoline if possible 2020-06-13 13:14:00 +02:00
Maschell
b817663d47 Simplify the cache flushing 2020-06-13 13:10:17 +02:00
Maschell
64a2b952ba Add FunctionPatcherRestoreFunctions 2020-06-12 21:10:59 +02:00
Maschell
a4a58c7857 Adopt to linking changes of WUMS 2020-06-10 13:12:16 +02:00
Maschell
9e4baed439 Make sure to call the init hook before the entrypoint. 2020-06-07 13:59:35 +02:00
Maschell
47b65df686 Remove debug logs 2020-06-07 00:34:16 +02:00
Maschell
580092d327 Fix compiling 2020-06-07 00:34:07 +02:00
Maschell
9d396d86dd Use defines from libfunctionpatcher instead of using an own copy 2020-06-06 22:25:20 +02:00
Maschell
edcf2c69b1 initial commit 2020-06-06 22:15:47 +02:00