--- nono/vm/fdd.h 2026/04/29 17:05:28 1.1.1.4 +++ nono/vm/fdd.h 2026/04/29 17:05:49 1.1.1.5 @@ -12,7 +12,6 @@ #include "device.h" #include "diskimage.h" -#include "event.h" #include "message.h" #include "textscreen.h" @@ -175,7 +174,7 @@ class FDDDevice : public Device void UnloadMessage(MessageID, uint32); // イベントコールバック - void EventCallback(Event &); + void EventCallback(Event *); uint unit {}; // ユニット番号(ドライブ番号) bool selected {}; // FDD SELECT 入力信号で選択されていれば true @@ -232,5 +231,5 @@ class FDDDevice : public Device FDCDevice *fdc {}; PEDECDevice *pedec {}; - Event event { this }; + Event *event {}; };