From d8e9ed73ab9c826c8be3d1f89c814d622976f66a Mon Sep 17 00:00:00 2001 From: "Unknown W. Brackets" Date: Fri, 10 Jan 2014 22:21:31 -0800 Subject: [PATCH] Fix a code alignment warning. I'm not really clear on why this code would not be 4 byte aligned, but cmake says it ain't on iOS, so okay. --- GPU/Common/TextureDecoder.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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"