mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-13 09:39:33 +01:00
samplerjit: Correct level lookup offset.
This commit is contained in:
1 parent
bf06342f9d
commit
3aedea89eb
1 file changed
+2
-1
@@ -2313,7 +2313,8 @@ bool SamplerJitCache::Jit_ReadClutColor(const SamplerID &id) {
|
||||
} else {
|
||||
#if PPSSPP_PLATFORM(WINDOWS)
|
||||
if (id.linear) {
|
||||
MOV(32, R(temp2Reg), MDisp(RSP, stackArgPos_ + 16));
|
||||
// Extra 8 to account for call.
|
||||
MOV(32, R(temp2Reg), MDisp(RSP, stackArgPos_ + 8 + 16));
|
||||
} else {
|
||||
// The argument was saved on the stack.
|
||||
MOV(32, R(temp2Reg), MDisp(RSP, 40));
|
||||
|
||||
Reference in new issue
Block a user