chore: rename Cycles newtype to Cycle

This commit is contained in:
2021-03-27 12:10:18 -05:00
parent bce14348f8
commit 2b05571c49
8 changed files with 171 additions and 171 deletions

View File

@@ -1,6 +1,6 @@
use super::cartridge::Cartridge;
use super::high_ram::HighRam;
use super::instruction::Cycles;
use super::instruction::Cycle;
use super::interrupt::{Interrupt, InterruptFlag};
use super::joypad::Joypad;
use super::ppu::Ppu;
@@ -63,7 +63,7 @@ impl Bus {
Ok(())
}
pub fn step(&mut self, cycles: Cycles) {
pub fn step(&mut self, cycles: Cycle) {
self.timer.step(cycles);
self.sound.step(cycles);
self.ppu.step(cycles);