--- nono/lib/mainapp.h 2026/04/29 17:05:52 1.1.1.19 +++ nono/lib/mainapp.h 2026/04/29 17:05:57 1.1.1.20 @@ -10,11 +10,13 @@ #pragma once -#include "object.h" +#include "header.h" +#include class Config; class Logger; class MonitorManager; +class Object; class ThreadManager; class UIMessage; class VM; @@ -43,7 +45,7 @@ enum class VMCap : uint32 { M88K = VMCap::LUNA88K, ALL = 0xffffffff, }; -static inline VMCap operator|(VMCap a, VMCap b) { +inline VMCap operator|(VMCap a, VMCap b) { return static_cast(static_cast(a) | static_cast(b)); } @@ -298,6 +300,9 @@ class MainApp // -L: ログ指定文字列 std::string logopt {}; + // --perf: パフォーマンス測定モード + bool opt_perf {}; + // --show-config: 設定内容を表示 (1なら通常、2ならall) int show_config {};