--- nono/vm/newsfb.h 2026/04/29 17:05:17 1.1.1.1 +++ nono/vm/newsfb.h 2026/04/29 17:06:00 1.1.1.3 @@ -11,7 +11,7 @@ #pragma once #include "device.h" -#include "monitor.h" +#include "textscreen.h" class NewsfbDevice : public Device { @@ -25,13 +25,13 @@ class NewsfbDevice : public Device void Putc(int ch); private: - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); TextScreen console {}; - Monitor monitor { this }; + Monitor *monitor {}; }; -static inline NewsfbDevice *GetNewsfbDevice() { +inline NewsfbDevice *GetNewsfbDevice() { return Object::GetObject(OBJ_NEWSFB); }