mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Missed one possible unaligned access
This commit is contained in:
1 parent
4669d86915
commit
ea9da85bdb
1 file changed
+3
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user