--- nono/vm/human68k.h 2026/04/29 17:04:28 1.1.1.1 +++ nono/vm/human68k.h 2026/04/29 17:04:35 1.1.1.3 @@ -1,6 +1,7 @@ // // nono -// Copyright (C) 2017 Y.Sugahara (moveccr) +// Copyright (C) 2020 nono project +// Licensed under nono-license.txt // #pragma once @@ -12,8 +13,9 @@ // Human68k console emulator // Human68k 構造 -class Human68k : public Device { - typedef Device inherited; +class Human68k : public Device +{ + using inherited = Device; public: // .X ファイルのヘッダ構造 struct XFileHeader { @@ -48,13 +50,13 @@ class Human68k : public Device { // Human68k File struct File { int fd = -1; // unix fd - char *filename = NULL; + std::string filename {}; }; - Human68k(const char *file, const char *arg); - virtual ~Human68k(); + Human68k(); + ~Human68k() override; - virtual bool Init(); + bool Init() override; bool FLineOp(m68kcpu *cpu);