--- nono/vm/lcd.h 2026/04/29 17:05:51 1.1.1.14 +++ nono/vm/lcd.h 2026/04/29 17:06:01 1.1.1.15 @@ -58,7 +58,7 @@ class LCDDevice : public Device const uint8 *GetFont(uint ch) const; private: - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); // 現在のアドレスでデータレジスタにラッチ void LatchData(); @@ -92,6 +92,6 @@ class LCDDevice : public Device static const uint8 CGROM[12 * 16 * 8]; }; -static inline LCDDevice *GetLCDDevice() { +inline LCDDevice *GetLCDDevice() { return Object::GetObject(OBJ_LCD); }