mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04:00
samplerjit: Correct level lookup offset.
This commit is contained in:
parent
bf06342f9d
commit
3aedea89eb
1 changed files with 2 additions and 1 deletions
|
@ -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));
|
||||
|
|
Loading…
Add table
Reference in a new issue