summaryrefslogtreecommitdiff
path: root/asm/pixel_buffer.s
diff options
context:
space:
mode:
authorYamaArashi <shadow962@live.com>2016-09-02 23:11:29 -0700
committerYamaArashi <shadow962@live.com>2016-09-02 23:11:29 -0700
commita05857f889631dd6e722f952475fb96382cdf999 (patch)
tree3e7b52a566406ba22a442e62d2b7fbdf99926e5c /asm/pixel_buffer.s
parentf910e326a16429f613e3b3814dd98bd69485dcd1 (diff)
make asm compatible with stock gas
Diffstat (limited to 'asm/pixel_buffer.s')
-rw-r--r--asm/pixel_buffer.s8
1 files changed, 8 insertions, 0 deletions
diff --git a/asm/pixel_buffer.s b/asm/pixel_buffer.s
index 9582e494e..0dcbccd18 100644
--- a/asm/pixel_buffer.s
+++ b/asm/pixel_buffer.s
@@ -1,3 +1,9 @@
+ .include "asm/macros.s"
+
+ .syntax unified
+
+ .text
+
thumb_func_start BlitBitmapRect4BitWithoutColorKey
@ void BlitBitmapRect4BitWithoutColorKey(struct Bitmap *src, struct Bitmap *dest, u16 srcX, u16 srcY, u16 destX, u16 destY, u16 width, u16 height)
BlitBitmapRect4BitWithoutColorKey: @ 8002BDC
@@ -812,3 +818,5 @@ _080031AC:
pop {r0}
bx r0
thumb_func_end FillBitmapRect8Bit
+
+ .align 2, 0 @ Don't pad with nop.