--- nono/vm/fdc.h 2026/04/29 17:04:35 1.1.1.2 +++ nono/vm/fdc.h 2026/04/29 17:04:44 1.1.1.4 @@ -109,7 +109,7 @@ class FDCDevice public: FDCDevice(); - ~FDCDevice() override; + virtual ~FDCDevice() override; void ResetHard() override; @@ -133,7 +133,7 @@ class FDCDevice struct FDC fdc {}; struct FDD fdd[4] {}; - void Callback(int); + void Callback(Event& ev); void Interrupt(); @@ -145,3 +145,5 @@ class FDCDevice // コマンド名一覧 static const char *cmdnames_str[]; }; + +extern std::unique_ptr gFDC;