mirror of
https://github.com/FranLMSP/rmg-001.git
synced 2026-08-05 17:50:04 -04:00
Refactor joypad and implement sprite fetching. Tetris is now playable
This commit is contained in:
+1
-1
@@ -911,7 +911,7 @@ impl CPU {
|
||||
}
|
||||
|
||||
pub fn handle_interrupt(&mut self, bus: &mut Bus, interrupt: Interrupt) {
|
||||
println!("Interrupt: {:?}", interrupt);
|
||||
// println!("Interrupt: {:?}", interrupt);
|
||||
bus.set_interrupt_flag(interrupt, false);
|
||||
self.ime = false;
|
||||
self.registers.decrement(Register::PC, 3);
|
||||
|
||||
Reference in New Issue
Block a user