diff --git a/GPU/Common/TextureDecoder.cpp b/GPU/Common/TextureDecoder.cpp index 352ed4161d..67028886bc 100644 --- a/GPU/Common/TextureDecoder.cpp +++ b/GPU/Common/TextureDecoder.cpp @@ -69,6 +69,8 @@ static u32 QuickTexHashBasic(const void *checkp, u32 size) { "add %1, %1, %2\n" "mov r6, #0\n" + ".align 2\n" + // If we have zero sized input, we'll return garbage. Oh well, shouldn't happen. "QuickTexHashBasic_next:\n" "ldmia %2!, {r2-r5}\n" @@ -79,6 +81,8 @@ static u32 QuickTexHashBasic(const void *checkp, u32 size) { "eor r6, r6, r5\n" "blo QuickTexHashBasic_next\n" + ".align 2\n" + "QuickTexHashBasic_done:\n" "mov %0, r6\n"