GameBoy\LcdController::scanLineMode2 PHP Метод

scanLineMode2() публичный Метод

public scanLineMode2 ( )
    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;
        }
    }