mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-14 09:00:40 +02:00
OpcodeDispatcher: Treat ThunkOp ExitFunction as a return
ThunkOp acts as an implicit return, mark it as such so the call-ret stack entry from the caller is popped
This commit is contained in:
1 parent
31f8abfa61
commit
20efadbe66
1 file changed
+1
-1
@@ -126,7 +126,7 @@ void OpDispatchBuilder::ThunkOp(OpcodeArgs) {
|
||||
auto NewRIP = Pop(GPRSize);
|
||||
|
||||
// Store the new RIP
|
||||
ExitFunction(NewRIP);
|
||||
ExitFunction(NewRIP, BranchHint::Return);
|
||||
BlockSetRIP = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user