--- nono/vm/scsidev.h 2026/04/29 17:05:21 1.1.1.15 +++ nono/vm/scsidev.h 2026/04/29 17:05:25 1.1.1.16 @@ -37,7 +37,7 @@ class SCSIDevice : public IODevice using inherited = IODevice; public: SCSIDevice(int objid_); - virtual ~SCSIDevice() override; + ~SCSIDevice() override; // バスに接続 (SCSIBus::Attach から呼ばれる) void Attach(SCSIBus *bus_, int id) { @@ -130,7 +130,7 @@ class SCSIHostDevice : public SCSIDevice using inherited = SCSIDevice; public: SCSIHostDevice(int objid_); - virtual ~SCSIHostDevice() override; + ~SCSIHostDevice() override; bool Create() override; bool Init() override; @@ -206,7 +206,7 @@ class SCSITarget : public SCSIDevice using inherited = SCSIDevice; public: SCSITarget(SCSIHostDevice *h, int id); - virtual ~SCSITarget() override; + ~SCSITarget() override; void ResetHard(bool poweron) override; @@ -305,7 +305,7 @@ class SCSIDisk : public SCSITarget public: SCSIDisk(SCSIHostDevice *h, int id, SCSI::DevType type); - virtual ~SCSIDisk() override; + ~SCSIDisk() override; bool Init() override; void ResetHard(bool poweron) override; @@ -382,8 +382,8 @@ class SCSIDisk : public SCSITarget void MediaChanged() const; // メディア挿入/排出コールバック - void LoadCallback(MessageID, uint32); - void UnloadCallback(MessageID, uint32); + void LoadMessage(MessageID, uint32); + void UnloadMessage(MessageID, uint32); // イメージファイルのフルパス std::string pathname {};