mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 08:51:08 +00:00
Backend update from GZDoom.
This commit is contained in:
parent
a9dc57e99f
commit
6c702847ff
31 changed files with 1239 additions and 63 deletions
|
@ -1937,6 +1937,15 @@ static int ExecScriptFunc(VMFrameStack *stack, VMReturn *ret, int numret)
|
|||
CMPJMP(reg.a[B] == konsta[C].v);
|
||||
NEXTOP;
|
||||
|
||||
OP(NULLCHECK):
|
||||
ASSERTA(a);
|
||||
if (PA == nullptr)
|
||||
{
|
||||
ThrowAbortException(X_WRITE_NIL, nullptr);
|
||||
return 0;
|
||||
}
|
||||
NEXTOP;
|
||||
|
||||
OP(NOP):
|
||||
NEXTOP;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue