public function scanLineMode2() { // OAM in use if ($this->modeSTAT != 2) { if ($this->mode2TriggerSTAT) { $this->core->memory[0xff0f] |= 0x2; // set IF bit 1 } $this->STATTracker = 1; $this->modeSTAT = 2; } }