aboutsummaryrefslogtreecommitdiff
path: root/examples/graphics
diff options
context:
space:
mode:
authorspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-02-07 01:06:33 +0100
committerspicyjpeg <88942473+spicyjpeg@users.noreply.github.com>2022-02-07 02:35:02 +0100
commit40b7d95e9b16252d1aebb0706f3bba885f6e67cf (patch)
treeec7604008134f312c403f895661c4c4d6caa96b6 /examples/graphics
parent57cda18641d16ba4e4fec52b5514e48db8ee4593 (diff)
downloadpsn00bsdk-40b7d95e9b16252d1aebb0706f3bba885f6e67cf.tar.gz
Add LIBPSN00B_GENERATOR option, fix .incbin alignment
Diffstat (limited to 'examples/graphics')
-rw-r--r--examples/graphics/billboard/tim.s.template1
-rw-r--r--examples/graphics/render2tex/texture.s.template1
-rw-r--r--examples/graphics/rgb24/tim.s.template1
-rw-r--r--examples/graphics/tilesasm/data.s.template1
4 files changed, 4 insertions, 0 deletions
diff --git a/examples/graphics/billboard/tim.s.template b/examples/graphics/billboard/tim.s.template
index fbe7522..d9309bc 100644
--- a/examples/graphics/billboard/tim.s.template
+++ b/examples/graphics/billboard/tim.s.template
@@ -3,4 +3,5 @@
.global tim_image
.type tim_image, @object
tim_image:
+ .balign 4 # Required to correctly parse and load the image
.incbin "${PROJECT_SOURCE_DIR}/texture64.tim"
diff --git a/examples/graphics/render2tex/texture.s.template b/examples/graphics/render2tex/texture.s.template
index 8b09ad8..48248b2 100644
--- a/examples/graphics/render2tex/texture.s.template
+++ b/examples/graphics/render2tex/texture.s.template
@@ -5,4 +5,5 @@
.global tim_blendpattern
.type tim_blendpattern, @object
tim_blendpattern:
+ .balign 4 # Required to correctly parse and load the image
.incbin "${PROJECT_SOURCE_DIR}/blendpattern-16c.tim"
diff --git a/examples/graphics/rgb24/tim.s.template b/examples/graphics/rgb24/tim.s.template
index 9fb1fb6..205a081 100644
--- a/examples/graphics/rgb24/tim.s.template
+++ b/examples/graphics/rgb24/tim.s.template
@@ -3,4 +3,5 @@
.global tim_image
.type tim_image, @object
tim_image:
+ .balign 4 # Required to correctly parse and load the image
.incbin "${PROJECT_SOURCE_DIR}/bunpattern.tim"
diff --git a/examples/graphics/tilesasm/data.s.template b/examples/graphics/tilesasm/data.s.template
index 1c4b01e..bec0b84 100644
--- a/examples/graphics/tilesasm/data.s.template
+++ b/examples/graphics/tilesasm/data.s.template
@@ -31,4 +31,5 @@
# declared in the C code
#
tim_tileset:
+ .balign 4 # Required to correctly parse and load the image
.incbin "${PROJECT_SOURCE_DIR}/tiles_256.tim"