Commit graph

17 commits

Author SHA1 Message Date
wheremyfoodat
33c3e67b31 CRO: Lighter icache flushes 2025-01-03 19:14:59 +02:00
PSI-Rockin
b797c92b2e [CRO] Offset the old data address by the start of the CRO
The old logic caused bad data relocations
2024-04-22 18:17:58 -04:00
Nomi
f2171ff3fe Update ldr_ro.cpp 2023-09-13 17:56:14 +02:00
Nomi
29e3aa9412 Update ldr_ro.cpp 2023-09-13 17:54:10 +02:00
Nomi
df9ce3cd10 Remove debug printfs 2023-09-09 00:54:59 +02:00
Nomi
b9e7d5db3c Many bug fixes, CRO unloading, proper symbol im/exports 2023-09-09 00:25:33 +02:00
Nomi
60a632b365 Stub fixing, add indexed/anonymous imports
TODO: remove debug printfs
2023-09-07 23:54:20 +02:00
Nomi
4cd9c6c77e Add old LoadCRO
Silly Pokémon X needs this.
2023-09-07 20:38:27 +02:00
Nomi
d452caa976 Add kernel member, stub UnloadCRO 2023-09-07 20:17:55 +02:00
Nomi
69a4b218e2 Skip NULL offsets during rebasing
Pokémon XY use NULL offsets, so we can't crash upon encountering them.
2023-09-07 19:10:11 +02:00
Nomi
56fe8c7177 Make code prettier 2023-09-07 18:54:58 +02:00
Nomi
871bcb8695 Add internal relocations
TODO: add linking, make this prettier
2023-09-05 22:50:30 +02:00
Nomi
205aedc02c Add first batch of rebasing 2023-09-05 19:58:47 +02:00
Nomi
9d0c4c150e Stub LDR_RO::LoadCRONew 2023-08-27 17:22:52 +02:00
Mary
122b1b2727 hle: Add proper type for result code
This should clean up all HLE errorcode in the codebase.

I didn't removed Rust::Result as this should be a cleanup for another
iteration.
2023-06-16 20:09:37 +02:00
wheremyfoodat
2b492a435e [Services] Uhh implement IPC result header which apparently libctru's apt code nees 2023-04-20 02:03:05 +03:00
wheremyfoodat
c24c4a9d83 [ldr:ro] Add service skeleton 2023-03-18 20:08:45 +02:00