--- nono/vm/bt45x.h 2026/04/29 17:05:50 1.1.1.5 +++ nono/vm/bt45x.h 2026/04/29 17:06:00 1.1.1.6 @@ -136,7 +136,7 @@ class BT454Device : public BT45xDevice ~BT454Device() override; private: - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); uint32 ReadControl() override; void WriteControl(uint32 data) override; @@ -156,7 +156,7 @@ class BT458Device : public BT45xDevice bool Init() override; private: - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); uint32 ReadControl() override; void WriteControl(uint32 data) override; @@ -174,6 +174,6 @@ class BT458Device : public BT45xDevice uint8 testreg {}; // テストレジスタ }; -static inline BT45xDevice *GetBT45xDevice() { +inline BT45xDevice *GetBT45xDevice() { return Object::GetObject(OBJ_BT45x); }