summaryrefslogtreecommitdiff
path: root/src/nullsub.S
diff options
context:
space:
mode:
authorColin Noga <Tempus@chronometry.ca>2012-07-04 23:14:52 -0500
committerColin Noga <Tempus@chronometry.ca>2012-07-04 23:14:52 -0500
commit1c3e5a0b1c62829d78960c4d99e4928ccf73625f (patch)
tree66d70e39ff1b29d656d65d32ba7291735baba79e /src/nullsub.S
parent2a444dcd0e6227649964fda92b436e95c9a08c1b (diff)
downloadkamek-1c3e5a0b1c62829d78960c4d99e4928ccf73625f.tar.gz
kamek-1c3e5a0b1c62829d78960c4d99e4928ccf73625f.zip
Added Newer nullsubs for dynamic use, improved mapfile a little (mostly error output), updated newer and summer sun with nullsub fixes.
Diffstat (limited to '')
-rw-r--r--src/nullsub.S16
1 files changed, 16 insertions, 0 deletions
diff --git a/src/nullsub.S b/src/nullsub.S
new file mode 100644
index 0000000..afdeed9
--- /dev/null
+++ b/src/nullsub.S
@@ -0,0 +1,16 @@
+.text
+
+.global Return
+Return:
+ blr
+
+.global ReturnTrue
+ReturnTrue:
+ li r3, 1
+ blr
+
+.global ReturnFalse
+ReturnFalse:
+ li r3, 0
+ blr
+