summaryrefslogtreecommitdiff
path: root/src/code/z_view.c
diff options
context:
space:
mode:
authorTharo <17233964+Thar0@users.noreply.github.com>2021-02-24 04:15:58 +0000
committerGitHub <noreply@github.com>2021-02-23 23:15:58 -0500
commitc55e9eeee5f6ed8e2f7cd9912a0b347761ea7126 (patch)
tree926f81b788021d29ce3604c8617b0064295e7713 /src/code/z_view.c
parente0164dba144220fb67b2385ec760fa85535faf6a (diff)
pragma variant for GLOBAL_ASM (#49)
* pragma GLOBAL_ASM * Revert split_asm.py arg description change
Diffstat (limited to 'src/code/z_view.c')
-rw-r--r--src/code/z_view.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/code/z_view.c b/src/code/z_view.c
index a41ea56f6..d583c2b13 100644
--- a/src/code/z_view.c
+++ b/src/code/z_view.c
@@ -349,7 +349,7 @@ s32 View_RenderToPerspectiveMatrix(View* view) {
return 1;
}
#else
-GLOBAL_ASM("asm/non_matchings/z_view/View_RenderToPerspectiveMatrix.asm")
+#pragma GLOBAL_ASM("asm/non_matchings/z_view/View_RenderToPerspectiveMatrix.asm")
#endif
#ifdef NON_MATCHING
@@ -393,12 +393,12 @@ s32 View_RenderToOrthographicMatrix(View* view) {
return 1;
}
#else
-GLOBAL_ASM("asm/non_matchings/z_view/View_RenderToOrthographicMatrix.asm")
+#pragma GLOBAL_ASM("asm/non_matchings/z_view/View_RenderToOrthographicMatrix.asm")
#endif
-GLOBAL_ASM("asm/non_matchings/z_view/func_8013FBC8.asm")
+#pragma GLOBAL_ASM("asm/non_matchings/z_view/func_8013FBC8.asm")
-GLOBAL_ASM("asm/non_matchings/z_view/func_8013FD74.asm")
+#pragma GLOBAL_ASM("asm/non_matchings/z_view/func_8013FD74.asm")
s32 func_80140024(View* view) {
guLookAt(view->viewingPtr, view->eye.x, view->eye.y, view->eye.z,
@@ -411,5 +411,5 @@ s32 func_80140024(View* view) {
return 1;
}
-GLOBAL_ASM("asm/non_matchings/z_view/func_801400CC.asm")
+#pragma GLOBAL_ASM("asm/non_matchings/z_view/func_801400CC.asm")