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