Added missing return values in VM calls
These are not supported by the JIT and must always be passed.
This commit is contained in:
parent
5730719182
commit
f5032b149b
8 changed files with 22 additions and 11 deletions
|
|
@ -325,8 +325,10 @@ void DIntermissionScreenCutscene::Drawer ()
|
|||
ScaleOverrider ovr(twod);
|
||||
IFVIRTUALPTRNAME(mScreenJobRunner, NAME_ScreenJobRunner, RunFrame)
|
||||
{
|
||||
int res = 0;
|
||||
VMValue parm[] = { mScreenJobRunner, I_GetTimeFrac() };
|
||||
VMCall(func, parm, 2, nullptr, 0);
|
||||
VMReturn ret[] = { &res };
|
||||
VMCall(func, parm, 2, ret, 1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue