mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-02-21 11:01:36 +00:00
- missed one OP_RESULT.
This commit is contained in:
parent
6727301330
commit
b33fd19fa2
1 changed files with 0 additions and 1 deletions
|
@ -5617,7 +5617,6 @@ ExpEmit FxRandomPick::Emit(VMFunctionBuilder *build)
|
|||
emitters.AddReturn(REGT_INT);
|
||||
auto resultreg = emitters.EmitCall(build);
|
||||
|
||||
build->Emit(OP_RESULT, 0, REGT_INT, resultreg.RegNum);
|
||||
build->Emit(OP_IJMP, resultreg.RegNum, choices.Size());
|
||||
|
||||
// Free the result register now. The simple code generation algorithm should
|
||||
|
|
Loading…
Reference in a new issue