--- nono/vm/scsidev.h 2026/04/29 17:05:14 1.1.1.13 +++ nono/vm/scsidev.h 2026/04/29 17:05:18 1.1.1.14 @@ -36,7 +36,7 @@ class SCSIDevice : public IODevice { using inherited = IODevice; public: - SCSIDevice(const std::string& objname_); + SCSIDevice(int objid_); virtual ~SCSIDevice() override; // バスに接続 (SCSIBus::Attach から呼ばれる) @@ -129,7 +129,7 @@ class SCSIHostDevice : public SCSIDevice { using inherited = SCSIDevice; public: - SCSIHostDevice(const std::string& objname_); + SCSIHostDevice(int objid_); virtual ~SCSIHostDevice() override; bool Create() override; @@ -205,7 +205,7 @@ class SCSITarget : public SCSIDevice { using inherited = SCSIDevice; public: - SCSITarget(const std::string& objname_, SCSIHostDevice *h, int id); + SCSITarget(SCSIHostDevice *h, int id); virtual ~SCSITarget() override; void ResetHard(bool poweron) override;