mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-14 08:31:23 +00:00
- fixed missing setRet call for REGT_POINTER return types
This commit is contained in:
parent
9dbb1d77ce
commit
d5b9b8e57a
1 changed files with 1 additions and 0 deletions
|
@ -445,6 +445,7 @@ void JitCompiler::EmitNativeCall(VMNativeFunction *target)
|
||||||
break;
|
break;
|
||||||
case REGT_POINTER:
|
case REGT_POINTER:
|
||||||
tmp = newResultIntPtr();
|
tmp = newResultIntPtr();
|
||||||
|
call->setRet(0, tmp);
|
||||||
cc.mov(regA[regnum], tmp);
|
cc.mov(regA[regnum], tmp);
|
||||||
break;
|
break;
|
||||||
case REGT_STRING:
|
case REGT_STRING:
|
||||||
|
|
Loading…
Reference in a new issue