--- nono/vm/newsctlr.h 2026/04/29 17:05:43 1.1.1.5 +++ nono/vm/newsctlr.h 2026/04/29 17:05:50 1.1.1.6 @@ -11,7 +11,6 @@ #pragma once #include "device.h" -#include "event.h" #include class DipswDevice; @@ -50,7 +49,7 @@ class NewsCtlrDevice : public IODevice uint8 GetDIPSW() const; void WriteLED(uint32 data); void WriteTimer(uint32 data); - void TimerCallback(Event&); + void TimerCallback(Event *); void ChangeInterrupt(); // 割り込みコントローラ @@ -72,7 +71,7 @@ class NewsCtlrDevice : public IODevice DipswDevice *dipsw {}; - Event timer_event { this }; + Event *timer_event {}; }; static inline NewsCtlrDevice *GetNewsCtlrDevice() {