--- nono/vm/lunafb.h 2026/04/29 17:05:33 1.1.1.7 +++ nono/vm/lunafb.h 2026/04/29 17:06:00 1.1.1.8 @@ -83,7 +83,7 @@ class LunafbDevice : public PlaneVRAMDev void WritePlane16(uint, uint32, uint32); void WritePlane32(uint, uint32, uint32); - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); // 演算 static uint32 RasterOp(uint rop, uint32 vram, uint32 data); @@ -130,6 +130,6 @@ class LunafbDevice : public PlaneVRAMDev Monitor *monitor {}; }; -static inline LunafbDevice *GetLunafbDevice() { +inline LunafbDevice *GetLunafbDevice() { return Object::GetObject(OBJ_PLANEVRAM); }