summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Bridle <ben@derelict.engineering>2024-07-30 18:31:54 +1200
committerBen Bridle <ben@derelict.engineering>2024-07-30 18:31:54 +1200
commite55907ff1c3067ed3326091a477698ffc8db0026 (patch)
treef7f7287d112f679b5763ae08b78b9e27f03461cb
parentebfb38ebb2dff3dcb353b9d8cd01d41d9abf486e (diff)
downloadbedrock-pc-e55907ff1c3067ed3326091a477698ffc8db0026.zip
Improve comment clarity
-rw-r--r--src/devices.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices.rs b/src/devices.rs
index 864e1ba..9df5eb2 100644
--- a/src/devices.rs
+++ b/src/devices.rs
@@ -58,10 +58,10 @@ impl StandardDevices {
};
}
self.clock.update_timers();
- // The order here is important. If clock comes first, it could
- // block out all other events with a fast enough recurring timer.
+ // The order here is important. If clock comes first, a fast
+ // enough recurring timer could block out all other events.
// It might be preferable to implement a queue system, so that
- // the flags are tested in the opposite order to how recently
+ // the flags are tested in reverse order to how recently
// they were matched.
test_wake!(self.input.wake_flag, 0x4, 0x0800);
test_wake!(self.screen.wake_flag, 0x5, 0x0400);