control: Don't abort when setting little endian.

If this gets set accidentally, (such as while playing in Open Firmware), allow the user to change it back.
This commit is contained in:
joevt 2024-02-02 01:49:42 -08:00 committed by dingusdev
parent b5987afaa6
commit 3e347746f9

View File

@ -531,8 +531,7 @@ void ControlVideo::write(uint32_t rgn_start, uint32_t offset, uint32_t value, in
} }
this->enables = value & 0xFFF; this->enables = value & 0xFFF;
if (this->enables & FB_ENDIAN_LITTLE) if (this->enables & FB_ENDIAN_LITTLE)
ABORT_F("%s: little-endian framebuffer is not implemented yet", LOG_F(ERROR, "%s: little-endian framebuffer is not implemented yet", this->name.c_str());
this->name.c_str());
break; break;
case ControlRegs::GSC_DIVIDE: case ControlRegs::GSC_DIVIDE:
this->clock_divider = value & 3; this->clock_divider = value & 3;