--- nono/vm/sio.h 2026/04/29 17:04:32 1.1.1.3 +++ nono/vm/sio.h 2026/04/29 17:04:36 1.1.1.4 @@ -1,6 +1,7 @@ // // nono -// Copyright (C) 2018 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #pragma once @@ -11,12 +12,12 @@ class SIODevice : public uPD7201Device { - typedef uPD7201Device inherited; + using inherited = uPD7201Device; public: SIODevice(); - virtual ~SIODevice(); + ~SIODevice() override; - virtual void ResetHard(); + void ResetHard() override; protected: // BusIO インタフェース @@ -26,7 +27,7 @@ class SIODevice uint64 Peek(uint32 addr); private: - virtual void Interrupt(); + void Interrupt() override; }; extern std::unique_ptr gSIO;