mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Prefer pre-increment/decrement operators in for loops
This commit is contained in:
@@ -557,7 +557,7 @@ static void applyFilePatches(Section §ion, Section &dataSection) {
|
||||
type.size * 8U
|
||||
);
|
||||
}
|
||||
for (uint8_t i = 0; i < type.size; i++) {
|
||||
for (uint8_t i = 0; i < type.size; ++i) {
|
||||
dataSection.data[offset + i] = value & 0xFF;
|
||||
value >>= 8;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user