mirror of
https://github.com/citra-emu/citra-canary.git
synced 2024-12-24 16:15:39 +00:00
shader: Handle non-CALL opcodes with a break
This commit is contained in:
parent
bbffa6ad69
commit
c6709d97bc
|
@ -795,6 +795,8 @@ void JitShader::FindReturnOffsets() {
|
||||||
case OpCode::Id::CALLU:
|
case OpCode::Id::CALLU:
|
||||||
return_offsets.push_back(instr.flow_control.dest_offset + instr.flow_control.num_instructions);
|
return_offsets.push_back(instr.flow_control.dest_offset + instr.flow_control.num_instructions);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue