mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 18:22:07 +00:00
Use automatic allocation and std::move for RPN bytes (#1336)
This commit is contained in:
@@ -276,7 +276,7 @@ static void initpatch(Patch &patch, uint32_t type, Expression const &expr, uint3
|
||||
patch.rpn[4] = (uint32_t)expr.val >> 24;
|
||||
} else {
|
||||
patch.rpn.resize(expr.rpnPatchSize);
|
||||
writerpn(patch.rpn, *expr.rpn);
|
||||
writerpn(patch.rpn, expr.rpn);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user