pub fn reset(&mut self, m: &mut MemoryBus) {
        self.cycle = 340;
        self.scanline = 240;
        m.ppu.write_control(0);
        m.ppu.write_mask(0);
        m.ppu.write_oam_address(0);
    }
/// Resets the PPU to its initial state
Resets the PPU to its initial state
Resets the PPU to its initial state
pub fn reset(&mut self, m: &mut MemoryBus) {
        self.cycle = 340;
        self.scanline = 240;
        m.ppu.write_control(0);
        m.ppu.write_mask(0);
        m.ppu.write_oam_address(0);
    }
pub fn reset ( & mut self , m : & mut MemoryBus ) { self . cycle = 340 ; self . scanline = 240 ; m . ppu . write_control ( 0 ) ; m . ppu . write_mask ( 0 ) ; m . ppu . write_oam_address ( 0 ) ; }
Resets the PPU to its initial state
Resets the PPU to its initial state
&mut self
m
&mut MemoryBus
&mut self
m
&mut MemoryBus