mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 23:11:58 +00:00
- missed one OP_RESULT.
This commit is contained in:
parent
fe0a341e0c
commit
28db04b501
1 changed files with 0 additions and 1 deletions
|
@ -5609,7 +5609,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