--- nono/m88xx0/m88100.h 2026/04/29 17:04:44 1.1.1.5 +++ nono/m88xx0/m88100.h 2026/04/29 17:04:46 1.1.1.6 @@ -175,7 +175,7 @@ class m88kcpu : public m88100reg void RequestReset(); // 仮想時刻を返す - uint64 GetVTime(); + uint64 GetVTime() const { return total_vtime + Cycle2Vtime(used_cycle); } // 割り込み信号線が変化したことの通知を受ける。 // level は 0 か 1。 @@ -305,9 +305,6 @@ OP_PROTO(illegal); return (uint32)((uint64)vtime * clock_khz / (1000 * 1000)); } - // 仕掛中のサイクルを仮想時刻に反映させる - void UpdateVTime(); - // 今のところサイクルを正確に実装するのは無理なので // 適当に全部積み上げてある。 uint32 used_cycle {}; // 現在のターンでこれまでに消費したサイクル数