--- nono/vm/mpscc.h 2026/04/29 17:05:28 1.1.1.5 +++ nono/vm/mpscc.h 2026/04/29 17:05:45 1.1.1.7 @@ -13,7 +13,6 @@ #include "device.h" #include "event.h" #include "message.h" -#include "monitor.h" #include #if defined(MPSCC_SIO_LOG_HACK) @@ -570,7 +569,7 @@ class MPSCCDevice : public IODevice virtual void Tx(int ch, uint32 data) = 0; // シリアルから1バイト受信のメッセージとイベントコールバック - void HostRxCallback(); + void HostRxCallback(uint32); void RxMessage(MessageID, uint32); void RxCallback(Event&); @@ -615,6 +614,6 @@ class MPSCCDevice : public IODevice InterruptDevice *interrupt {}; - // モニタ (更新関数は継承側で用意する) - Monitor monitor { this }; + // モニタ + Monitor *monitor {}; };