From 40b7d95e9b16252d1aebb0706f3bba885f6e67cf Mon Sep 17 00:00:00 2001 From: spicyjpeg <88942473+spicyjpeg@users.noreply.github.com> Date: Mon, 7 Feb 2022 01:06:33 +0100 Subject: Add LIBPSN00B_GENERATOR option, fix .incbin alignment --- examples/graphics/billboard/tim.s.template | 1 + examples/graphics/render2tex/texture.s.template | 1 + examples/graphics/rgb24/tim.s.template | 1 + examples/graphics/tilesasm/data.s.template | 1 + 4 files changed, 4 insertions(+) (limited to 'examples/graphics') 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" -- cgit v1.2.3