athens: Allow P2_MUX bit 6 to be 1.

For modes 12 inch RGB 512x384@60 and VGA 800x600@72.
This commit is contained in:
joevt 2024-04-24 00:31:25 -07:00 committed by dingusdev
parent da203b69c5
commit 861c2d4f04

View File

@ -113,7 +113,7 @@ int AthensClocks::get_dot_freq()
22, 27, 28, 31, 35, 37, 38, 42, 49, 55, 56, 78, 125
};
if (this->regs[AthensRegs::P2_MUX2] & 0xC0) {
if (this->regs[AthensRegs::P2_MUX2] & 0x80) {
LOG_F(INFO, "%s: dot clock disabled", this->name.c_str());
return 0;
}