From 3e347746f9b9c996bbf18edb60bc7a6c529a4673 Mon Sep 17 00:00:00 2001 From: joevt Date: Fri, 2 Feb 2024 01:49:42 -0800 Subject: [PATCH] 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. --- devices/video/control.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/devices/video/control.cpp b/devices/video/control.cpp index 800f3cb..203c043 100644 --- a/devices/video/control.cpp +++ b/devices/video/control.cpp @@ -531,8 +531,7 @@ void ControlVideo::write(uint32_t rgn_start, uint32_t offset, uint32_t value, in } this->enables = value & 0xFFF; if (this->enables & FB_ENDIAN_LITTLE) - ABORT_F("%s: little-endian framebuffer is not implemented yet", - this->name.c_str()); + LOG_F(ERROR, "%s: little-endian framebuffer is not implemented yet", this->name.c_str()); break; case ControlRegs::GSC_DIVIDE: this->clock_divider = value & 3;