--- nono/vm/lance.h 2026/04/29 17:05:51 1.1.1.16 +++ nono/vm/lance.h 2026/04/29 17:06:01 1.1.1.17 @@ -182,7 +182,7 @@ class LanceDevice : public EthernetDevic busdata PeekPort(uint32 offset); private: - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); void MonitorReg(TextScreen&, int x, int y, uint32 data, const char * const * names); uint32 ReadData(); @@ -270,6 +270,6 @@ class LanceDevice : public EthernetDevic Monitor *monitor {}; }; -static inline LanceDevice *GetLanceDevice() { +inline LanceDevice *GetLanceDevice() { return Object::GetObject(OBJ_ETHERNET(0)); }