Added missing return values in VM calls

These are not supported by the JIT and must always be passed.
This commit is contained in:
Boondorl 2025-03-19 13:57:26 -04:00 committed by Rachael Alexanderson
commit f5032b149b
No known key found for this signature in database
GPG key ID: 26A8ACCE97115EE0
8 changed files with 22 additions and 11 deletions

View file

@ -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);
}
}