diff --git a/src/cpu.rs b/src/cpu.rs index fe7f9c1b1f11fcd5f3aeb3e0de8414a2db810532..70621dcce44ba441ddd4be7ac85c29a01b0b2087 100644 --- a/src/cpu.rs +++ b/src/cpu.rs @@ -128,7 +128,8 @@ impl Cpu { if self.ime { // @todo aggregate all of this interrupts in the MMU, as there's - // a lot of redundant code involved in here + // a lot of redundant code involved in here which complicates the + // readability and maybe performance of this code if (self.mmu.ie & 0x01 == 0x01) && self.mmu.ppu().int_vblank() { debugln!("Going to run V-Blank interrupt handler (0x40)");