--- nono/vm/lcd.h 2026/04/29 17:05:29 1.1.1.12 +++ nono/vm/lcd.h 2026/04/29 17:05:51 1.1.1.14 @@ -11,7 +11,8 @@ #pragma once #include "device.h" -#include "monitor.h" + +class UIMessage; class LCDDevice : public Device { @@ -20,6 +21,7 @@ class LCDDevice : public Device LCDDevice(); ~LCDDevice() override; + bool Init() override; void ResetHard(bool poweron) override; void PowerOff() override; @@ -83,7 +85,9 @@ class LCDDevice : public Device uint8 ddram[0x80] {}; uint8 cgram[0x40] {}; - Monitor monitor { this }; + Monitor *monitor {}; + + UIMessage *uimessage {}; static const uint8 CGROM[12 * 16 * 8]; };