chore: reorganize select parts of codebase
This commit is contained in:
@@ -18,12 +18,12 @@ pub struct Bus {
|
||||
pub ppu: Ppu,
|
||||
work_ram: WorkRam,
|
||||
var_ram: VariableWorkRam,
|
||||
timer: Timer,
|
||||
pub(crate) timer: Timer,
|
||||
int: Interrupt,
|
||||
snd: Sound,
|
||||
high_ram: HighRam,
|
||||
serial: Serial,
|
||||
pub joypad: Joypad,
|
||||
pub(crate) joypad: Joypad,
|
||||
}
|
||||
|
||||
impl Default for Bus {
|
||||
@@ -79,10 +79,6 @@ impl Bus {
|
||||
self.oam_write_byte(dest_addr, byte);
|
||||
}
|
||||
}
|
||||
|
||||
pub(crate) fn timer(&self) -> Timer {
|
||||
self.timer
|
||||
}
|
||||
}
|
||||
|
||||
impl Bus {
|
||||
|
Reference in New Issue
Block a user