arm64 shader JIT: Fix crash
This commit is contained in:
@@ -123,6 +123,8 @@ void ShaderEmitter::compileInstruction(const PICAShader& shaderUnit) {
|
|||||||
MOV(W1, recompilerPC); // W1 = Current PC
|
MOV(W1, recompilerPC); // W1 = Current PC
|
||||||
CMP(W0, W1); // If they're equal, execute a RET, otherwise skip it
|
CMP(W0, W1); // If they're equal, execute a RET, otherwise skip it
|
||||||
B(NE, skipReturn);
|
B(NE, skipReturn);
|
||||||
|
|
||||||
|
LDP(XZR, X30, SP, POST_INDEXED, 16);
|
||||||
RET();
|
RET();
|
||||||
|
|
||||||
l(skipReturn);
|
l(skipReturn);
|
||||||
|
|||||||
Reference in New Issue
Block a user