--- nono/vm/spc.h 2026/04/29 17:05:50 1.1.1.19 +++ nono/vm/spc.h 2026/04/29 17:06:00 1.1.1.20 @@ -180,7 +180,7 @@ class SPCDevice : public IODevice bool PokePort(uint32 offset, uint32 data); private: - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); void MonitorReg(TextScreen&, int x, int y, uint32 reg, const char * const *names); @@ -334,6 +334,6 @@ class SPCDevice : public IODevice Monitor *monitor {}; }; -static inline SPCDevice *GetSPCDevice() { - return Object::GetObject(OBJ_SPC); +inline SPCDevice *GetSPCDevice() { + return Object::GetObject(OBJ_SPC0); }