--- nono/vm/rtl8019as.h 2026/04/29 17:05:51 1.1.1.6 +++ nono/vm/rtl8019as.h 2026/04/29 17:06:01 1.1.1.7 @@ -339,7 +339,7 @@ class RTL8019ASDevice : public EthernetD uint32 PeekINTR() const; uint32 PeekDMA(uint32 a0) const; - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); void MonitorReg(TextScreen&, int, int, uint32, const char * const *names); void Reset(); @@ -479,6 +479,6 @@ class RTL8019ASDevice : public EthernetD static const char * const regnames[]; }; -static inline RTL8019ASDevice *GetRTL8019ASDevice(int n) { +inline RTL8019ASDevice *GetRTL8019ASDevice(int n) { return Object::GetObject(OBJ_ETHERNET(n)); }