VarAction2: Ensure that store simplification can't break var 7B
This commit is contained in:
@@ -6877,7 +6877,7 @@ static void OptimiseVarAction2DeterministicSpriteGroupSimplifyStores(Determinist
|
||||
}
|
||||
const DeterministicSpriteGroupAdjust &next = group->adjusts[j];
|
||||
if (next.operation == DSGA_OP_RST) {
|
||||
ok = true;
|
||||
ok = (next.variable != 0x7B);
|
||||
break;
|
||||
}
|
||||
if (is_constant && next.operation == DSGA_OP_STO_NC) {
|
||||
|
Reference in New Issue
Block a user