aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/smd
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi92@disroot.org>2025-07-05 02:34:11 +0200
committerXavier Del Campo Romero <xavi92@disroot.org>2025-07-05 02:34:11 +0200
commitbeb76e4dd362374b8f42cd971d394bba1074cd8d (patch)
tree3ea4cc342737afb9225c01160c92647ba66c78bd /libpsn00b/smd
parent5d9aa2d3dfc7d6e51c2eb942ab4cdbae5571a40a (diff)
downloadpsn00bsdk-fix-include.tar.gz
Replace .include with #includefix-include
For some reason, both mipsel-unknown-elf-gcc 8.2.0 and mipsel-non-elf 15.1.0 were unable to resolve .include assembler directives. As a workaround, it is still possible to use the preprocessor, and therefore the usual #include preprocessor directive. However, this requires the assembly files to use the uppercase .S file extension.
Diffstat (limited to 'libpsn00b/smd')
-rw-r--r--libpsn00b/smd/smd.S (renamed from libpsn00b/smd/smd.s)6
-rw-r--r--libpsn00b/smd/smd_cel.S (renamed from libpsn00b/smd/smd_cel.s)6
-rw-r--r--libpsn00b/smd/smd_flat.S (renamed from libpsn00b/smd/smd_flat.s)6
-rw-r--r--libpsn00b/smd/smdparser.S (renamed from libpsn00b/smd/smdparser.s)2
4 files changed, 10 insertions, 10 deletions
diff --git a/libpsn00b/smd/smd.s b/libpsn00b/smd/smd.S
index 3c87a5e..693f2cd 100644
--- a/libpsn00b/smd/smd.s
+++ b/libpsn00b/smd/smd.S
@@ -3,9 +3,9 @@
.set noreorder
-.include "gtereg.inc"
-.include "inline_s.inc"
-.include "smd/smd_s.inc"
+#include "gtereg.inc"
+#include "inline_s.inc"
+#include "smd/smd_s.inc"
# Currently does not do header checks
.section .text.smdInitData, "ax", @progbits
diff --git a/libpsn00b/smd/smd_cel.s b/libpsn00b/smd/smd_cel.S
index 8a39f01..e8cf911 100644
--- a/libpsn00b/smd/smd_cel.s
+++ b/libpsn00b/smd/smd_cel.S
@@ -3,9 +3,9 @@
.set noreorder
-.include "gtereg.inc"
-.include "inline_s.inc"
-.include "smd/smd_s.inc"
+#include "gtereg.inc"
+#include "inline_s.inc"
+#include "smd/smd_s.inc"
.section .text.smdSetCelTex, "ax", @progbits
.global smdSetCelTex
diff --git a/libpsn00b/smd/smd_flat.s b/libpsn00b/smd/smd_flat.S
index 843b8d3..b9235e9 100644
--- a/libpsn00b/smd/smd_flat.s
+++ b/libpsn00b/smd/smd_flat.S
@@ -3,9 +3,9 @@
.set noreorder
-.include "gtereg.inc"
-.include "inline_s.inc"
-.include "smd/smd_s.inc"
+#include "gtereg.inc"
+#include "inline_s.inc"
+#include "smd/smd_s.inc"
.section .text.smdSortModelFlat, "ax", @progbits
.global smdSortModelFlat
diff --git a/libpsn00b/smd/smdparser.s b/libpsn00b/smd/smdparser.S
index 656e509..857f861 100644
--- a/libpsn00b/smd/smdparser.s
+++ b/libpsn00b/smd/smdparser.S
@@ -3,7 +3,7 @@
.set noreorder
-.include "smd/smd_s.inc"
+#include "smd/smd_s.inc"
.set SMD_PRI_ID, 0
.set SMD_PRI_v0, 4