pragma variant for GLOBAL_ASM (#49)

* pragma GLOBAL_ASM

* Revert split_asm.py arg description change
This commit is contained in:
Tharo
2021-02-24 04:15:58 +00:00
committed by GitHub
parent e0164dba14
commit c55e9eeee5
564 changed files with 12305 additions and 12305 deletions
+5 -5
View File
@@ -70,7 +70,7 @@ void Lights_UploadLights(LightMapper* mapper, GraphicsContext* gCtxt) {
gSPLight(gCtxt->polyXlu.p++, &mapper->lights.a, i);
}
#else
GLOBAL_ASM("asm/non_matchings/z_lights/Lights_UploadLights.asm")
#pragma GLOBAL_ASM("asm/non_matchings/z_lights/Lights_UploadLights.asm")
#endif
Light* Lights_MapperGetNextFreeSlot(LightMapper* mapper) {
@@ -126,7 +126,7 @@ void Lights_MapPositionalWithReference(LightMapper* mapper, LightInfoPositionalP
}
}
#else
GLOBAL_ASM("asm/non_matchings/z_lights/Lights_MapPositionalWithReference.asm")
#pragma GLOBAL_ASM("asm/non_matchings/z_lights/Lights_MapPositionalWithReference.asm")
#endif
// This function matches, but uses .rodata. We don't have a good way to match partial .rodata for a file yet.
@@ -172,7 +172,7 @@ void Lights_MapPositional(LightMapper* mapper, LightInfoPositionalParams* params
}
}
#else
GLOBAL_ASM("asm/non_matchings/z_lights/Lights_MapPositional.asm")
#pragma GLOBAL_ASM("asm/non_matchings/z_lights/Lights_MapPositional.asm")
#endif
void Lights_MapDirectional(LightMapper* mapper, LightInfoDirectionalParams* params, GlobalContext* ctxt) {
@@ -393,7 +393,7 @@ void func_80102880(GlobalContext* ctxt) {
}
}
#else
GLOBAL_ASM("asm/non_matchings/z_lights/func_80102880.asm")
#pragma GLOBAL_ASM("asm/non_matchings/z_lights/func_80102880.asm")
#endif
// XXX regalloc
@@ -440,5 +440,5 @@ void func_80102A64(GlobalContext* ctxt) {
}
}
#else
GLOBAL_ASM("asm/non_matchings/z_lights/func_80102A64.asm")
#pragma GLOBAL_ASM("asm/non_matchings/z_lights/func_80102A64.asm")
#endif