--- nono/vm/vm.h 2026/04/29 17:05:24 1.1.1.12 +++ nono/vm/vm.h 2026/04/29 17:05:36 1.1.1.14 @@ -15,7 +15,13 @@ class VM { protected: - VM(const char *vmname_); + explicit VM(const char *vmname_); + public: + enum CreationPhase : bool { + First = false, + Second = true, + }; + public: virtual ~VM(); @@ -23,7 +29,7 @@ class VM void Dispose(); // 動的なコンストラクション - bool Create(); + bool Create(CreationPhase); // 初期化 bool Init();