--- nono/vm/vm_x68k.h 2026/04/29 17:04:32 1.1 +++ nono/vm/vm_x68k.h 2026/04/29 17:04:36 1.1.1.2 @@ -1,6 +1,7 @@ // // nono -// Copyright (C) 2020 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #pragma once @@ -9,16 +10,16 @@ class VM_X68030 : public VM { - typedef VM inherited; + using inherited = VM; public: VM_X68030(); - virtual ~VM_X68030(); + ~VM_X68030() override; // 電源ボタンを押す - virtual void PowerButton(); + void PowerButton() override; // 電源ボタンの状態を取得。オンなら true。 - bool IsPowerButton() const { return power_button; } + bool IsPowerButton() const override { return power_button; } private: // 電源ボタンの状態。オンなら true。 @@ -30,13 +31,13 @@ class VM_X68030 : public VM class VM_RXZ : public VM { - typedef VM inherited; + using inherited = VM; public: VM_RXZ(); - virtual ~VM_RXZ(); + ~VM_RXZ() override; // 電源ボタンを押す。 - virtual void PowerButton(); + void PowerButton() override; private: std::unique_ptr human68k;