--- nono/vm/mfp.h 2026/04/29 17:05:50 1.1.1.19 +++ nono/vm/mfp.h 2026/04/29 17:06:00 1.1.1.20 @@ -287,7 +287,7 @@ class MFPDevice : public IODevice // 割り込み信号線の状態を変える void ChangeInterrupt(); - DECLARE_MONITOR_CALLBACK(MonitorUpdate); + DECLARE_MONITOR_SCREEN(MonitorScreen); struct MFP mfp {}; std::array event {}; @@ -311,12 +311,12 @@ class MFPDevice : public IODevice static const busdata wait; static const char *intrname[]; static const char *gpipname[]; - static const uint64 prescale_ns[8]; + static const uint64 prescale_tsec[8]; static const char *prescale_str[8]; static const uint timer_vector[4]; static const char *regname[MFP::RegMax]; }; -static inline MFPDevice *GetMFPDevice() { +inline MFPDevice *GetMFPDevice() { return Object::GetObject(OBJ_MFP); }