arm64 shader JIT: Fix crash

This commit is contained in:
wheremyfoodat
2025-11-24 00:56:31 +02:00
parent 19f5e874c6
commit 18b05f3572

View File

@@ -123,6 +123,8 @@ void ShaderEmitter::compileInstruction(const PICAShader& shaderUnit) {
MOV(W1, recompilerPC); // W1 = Current PC
CMP(W0, W1); // If they're equal, execute a RET, otherwise skip it
B(NE, skipReturn);
LDP(XZR, X30, SP, POST_INDEXED, 16);
RET();
l(skipReturn);