--- nono/vm/lcd.cpp 2026/04/29 17:05:14 1.1.1.10 +++ nono/vm/lcd.cpp 2026/04/29 17:05:17 1.1.1.11 @@ -11,12 +11,9 @@ #include "lcd.h" #include "uimessage.h" -// グローバル参照用 -LCDDevice *gLCD; - // コンストラクタ LCDDevice::LCDDevice() - : inherited("LCD") + : inherited(OBJ_LCD) { monitor.func = ToMonitorCallback(&LCDDevice::MonitorUpdate); monitor.SetSize(67, 3); @@ -26,7 +23,6 @@ LCDDevice::LCDDevice() // デストラクタ LCDDevice::~LCDDevice() { - gLCD = NULL; } // リセット