Missed one possible unaligned access

This commit is contained in:
Henrik Rydgård committed 2013-11-06 13:14:49 +01:00
1 parent 4669d86915
commit ea9da85bdb
1 file changed
+3 -1
+3 -1
View File
@@ -931,7 +931,9 @@ void VertexDecoderJitCache::Jit_WeightsFloat() {
// Fill last two bytes with zeroes to align to 4 bytes. LDRH does it for us, handy.
void VertexDecoderJitCache::Jit_TcU8() {
LDRH(tempReg1, srcReg, dec_->tcoff);
LDRB(tempReg1, srcReg, dec_->tcoff);
LDRB(tempReg2, srcReg, dec_->tcoff + 1);
ORR(tempReg1, tempReg1, Operand2(tempReg2, ST_LSL, 8));
STR(tempReg1, dstReg, dec_->decFmt.uvoff);
}