mirror of
https://github.com/ZDoom/Raze.git
synced 2025-05-30 17:01:03 +00:00
- backend update to make the ZScript compiler work.
This commit is contained in:
parent
7b3ad35cc2
commit
d4cdb31464
81 changed files with 1779 additions and 235 deletions
|
@ -360,6 +360,10 @@ static int ExecScriptFunc(VMFrameStack *stack, VMReturn *ret, int numret)
|
|||
OP(SS):
|
||||
ASSERTA(a); ASSERTS(B); ASSERTKD(C);
|
||||
GETADDR(PA,KC,X_WRITE_NIL);
|
||||
#ifdef _DEBUG
|
||||
// Should never happen, if it does it indicates a compiler side problem.
|
||||
if (((FString*)ptr)->GetChars() == nullptr) ThrowAbortException(X_OTHER, "Uninitialized string");
|
||||
#endif
|
||||
*(FString *)ptr = reg.s[B];
|
||||
NEXTOP;
|
||||
OP(SS_R):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue