VarAction2: Remove umax operations with constant 0

This commit is contained in:
Jonathan G Rennison
2022-10-08 22:14:54 +01:00
parent 419c356f30
commit 7e6f7ebba6

View File

@@ -204,6 +204,7 @@ inline bool IsEvalAdjustWithZeroRemovable(DeterministicSpriteGroupAdjustOperatio
case DSGA_OP_SHL: case DSGA_OP_SHL:
case DSGA_OP_SHR: case DSGA_OP_SHR:
case DSGA_OP_SAR: case DSGA_OP_SAR:
case DSGA_OP_UMAX:
return true; return true;
default: default: