mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 04:20:34 +00:00
- fixed code generation issues with parameterized MBF21 functions.
This commit is contained in:
parent
fb107f80e6
commit
3acc5a2723
1 changed files with 1 additions and 1 deletions
|
@ -969,6 +969,7 @@ static void (*MBFCodePointerFactories[])(FunctionCallEmitter&, int, int, MBFPara
|
||||||
CreateWeaponJumpFunc,
|
CreateWeaponJumpFunc,
|
||||||
CreateWeaponJumpFunc,
|
CreateWeaponJumpFunc,
|
||||||
CreateJumpIfFlagSetFunc,
|
CreateJumpIfFlagSetFunc,
|
||||||
|
CreateFlagSetFunc,
|
||||||
CreateFlagSetFunc
|
CreateFlagSetFunc
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -979,7 +980,6 @@ static void SetDehParams(FState *state, int codepointer, VMDisassemblyDumper &di
|
||||||
static const uint8_t regts[] = { REGT_POINTER, REGT_POINTER, REGT_POINTER };
|
static const uint8_t regts[] = { REGT_POINTER, REGT_POINTER, REGT_POINTER };
|
||||||
int value1 = state->GetMisc1();
|
int value1 = state->GetMisc1();
|
||||||
int value2 = state->GetMisc2();
|
int value2 = state->GetMisc2();
|
||||||
if (!(value1|value2)) return;
|
|
||||||
|
|
||||||
bool returnsState = codepointer == 6;
|
bool returnsState = codepointer == 6;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue