fix(ppu): PPU cycle count increases even if LCDC bit 7 says otherwise
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				continuous-integration/drone/push Build is passing
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	continuous-integration/drone/push Build is passing
				
			This commit is contained in:
		| @@ -67,12 +67,12 @@ impl BusIo for Ppu { | ||||
|  | ||||
| impl Ppu { | ||||
|     pub(crate) fn clock(&mut self) { | ||||
|         self.cycle += 1; | ||||
|  | ||||
|         if !self.ctrl.lcd_enabled() { | ||||
|             return; | ||||
|         } | ||||
|  | ||||
|         self.cycle += 1; | ||||
|  | ||||
|         match self.stat.mode() { | ||||
|             PpuMode::OamScan => { | ||||
|                 if self.cycle >= 80.into() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user