moonoeye if_ie_registers test

This commit is contained in:
2021-11-04 13:13:22 -05:00
parent c5ff92c0ab
commit b7236e862a
4 changed files with 7 additions and 4 deletions
+1 -1
View File
@@ -120,7 +120,7 @@ impl PPU {
pub fn do_cycles(&mut self, bus: &mut Bus, cycles: Cycles, frame_buffer: &mut [u8]) {
let mut count = 0;
while count < cycles.0 {
while count < cycles.to_t() {
self.cycle(bus, frame_buffer);
count += 1;
}