mirror of
https://github.com/zeldaret/mm.git
synced 2026-05-31 01:15:20 -04:00
pragma variant for GLOBAL_ASM (#49)
* pragma GLOBAL_ASM * Revert split_asm.py arg description change
This commit is contained in:
@@ -23,7 +23,7 @@ void Idle_InitFramebuffer(u32* ptr, u32 numBytes, u32 value) {
|
||||
}
|
||||
}
|
||||
#else
|
||||
GLOBAL_ASM("./asm/non_matchings/idle/Idle_InitFramebuffer.asm")
|
||||
#pragma GLOBAL_ASM("./asm/non_matchings/idle/Idle_InitFramebuffer.asm")
|
||||
#endif
|
||||
|
||||
void Idle_InitScreen(void) {
|
||||
@@ -65,7 +65,7 @@ void Idle_InitCodeAndMemory(void) {
|
||||
Idle_ClearMemory(&code_bss_start, &code_bss_end);
|
||||
}
|
||||
#else
|
||||
GLOBAL_ASM("./asm/non_matchings/idle/Idle_InitCodeAndMemory.asm")
|
||||
#pragma GLOBAL_ASM("./asm/non_matchings/idle/Idle_InitCodeAndMemory.asm")
|
||||
#endif
|
||||
|
||||
void Main_ThreadEntry(void* arg) {
|
||||
|
||||
@@ -49,7 +49,7 @@ void ViConfig_UpdateVi(u32 arg0) {
|
||||
gViConfigUseDefault = arg0;
|
||||
}
|
||||
#else
|
||||
GLOBAL_ASM("./asm/non_matchings/viconfig/ViConfig_UpdateVi.asm")
|
||||
#pragma GLOBAL_ASM("./asm/non_matchings/viconfig/ViConfig_UpdateVi.asm")
|
||||
#endif
|
||||
|
||||
void ViConfig_UpdateBlack(void) {
|
||||
|
||||
@@ -141,7 +141,7 @@ void DmaMgr_ProcessMsg(DmaRequest* a0) {
|
||||
}
|
||||
}
|
||||
#else
|
||||
GLOBAL_ASM("./asm/non_matchings/z_std_dma/DmaMgr_ProcessMsg.asm")
|
||||
#pragma GLOBAL_ASM("./asm/non_matchings/z_std_dma/DmaMgr_ProcessMsg.asm")
|
||||
#endif
|
||||
|
||||
void Dmamgr_ThreadEntry(void* a0) {
|
||||
@@ -215,7 +215,7 @@ void Dmamgr_Start() {
|
||||
osStartThread(&dmamgrOSThread);
|
||||
}
|
||||
#else
|
||||
GLOBAL_ASM("./asm/non_matchings/z_std_dma/Dmamgr_Start.asm")
|
||||
#pragma GLOBAL_ASM("./asm/non_matchings/z_std_dma/Dmamgr_Start.asm")
|
||||
#endif
|
||||
|
||||
void Dmamgr_Stop() {
|
||||
|
||||
Reference in New Issue
Block a user