--- nono/vm/bt454.h 2026/04/29 17:04:31 1.1.1.2 +++ nono/vm/bt454.h 2026/04/29 17:04:44 1.1.1.5 @@ -1,6 +1,7 @@ // // nono -// Copyright (C) 2018 isaki@NetBSD.org +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #pragma once @@ -47,15 +48,15 @@ struct BT454 class BT454Device : public IODevice { - typedef IODevice inherited; + using inherited = IODevice; friend BitmapDevice; // Monitor は Bitmap を間借りしている public: BT454Device(); - virtual ~BT454Device(); - virtual bool Init(); + virtual ~BT454Device() override; - virtual void ResetHard(); + bool Init() override; + void ResetHard() override; // ホストパレットのアドレスを取得 const uint8 *GetHostPalette() const { return reg.hostcolor; } @@ -73,7 +74,7 @@ class BT454Device BT454 reg {}; - int nplane = 0; // ビットマップのプレーン数 + int nplane {}; // ビットマップのプレーン数 // ログ出力用 static const char rgbstr[3];