mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
9f00021dbe
* DMA_SEGMENT macro for straightforward DMAs of segments * PRomment
28 lines
775 B
C
28 lines
775 B
C
#include "common.h"
|
|
#include "ld_addrs.h"
|
|
|
|
void create_audio_system_obfuscated(void);
|
|
void load_engine_data_obfuscated(void);
|
|
void general_heap_create_obfuscated(void);
|
|
void battle_heap_create_obfuscated(void);
|
|
|
|
void shim_create_audio_system_obfuscated(void) {
|
|
DMA_COPY_SEGMENT(create_audio_system_obfuscated);
|
|
create_audio_system_obfuscated();
|
|
}
|
|
|
|
void shim_load_engine_data_obfuscated(void) {
|
|
DMA_COPY_SEGMENT(load_engine_data_obfuscated);
|
|
load_engine_data_obfuscated();
|
|
}
|
|
|
|
void shim_general_heap_create_obfuscated(void) {
|
|
DMA_COPY_SEGMENT(general_heap_create_obfuscated);
|
|
general_heap_create_obfuscated();
|
|
}
|
|
|
|
void shim_battle_heap_create_obfuscated(void) {
|
|
DMA_COPY_SEGMENT(battle_heap_create_obfuscated);
|
|
battle_heap_create_obfuscated();
|
|
}
|