--- nono/vm/lcd.cpp 2026/04/29 17:05:29 1.1.1.12 +++ nono/vm/lcd.cpp 2026/04/29 17:05:33 1.1.1.13 @@ -9,15 +9,16 @@ // #include "lcd.h" +#include "monitor.h" #include "uimessage.h" // コンストラクタ LCDDevice::LCDDevice() : inherited(OBJ_LCD) { - monitor.func = ToMonitorCallback(&LCDDevice::MonitorUpdate); - monitor.SetSize(67, 3); - monitor.Regist(ID_MONITOR_LCD); + monitor = gMonitorManager->Regist(ID_MONITOR_LCD, this); + monitor->func = ToMonitorCallback(&LCDDevice::MonitorUpdate); + monitor->SetSize(67, 3); } // デストラクタ