--- nono/host/hostdevice.cpp 2026/04/29 17:05:47 1.1.1.6 +++ nono/host/hostdevice.cpp 2026/04/29 17:06:02 1.1.1.8 @@ -57,18 +57,6 @@ HostDevice::Create2() return true; } -// 初期化 -bool -HostDevice::Init() -{ - // Create2() と Config::Fix が終わったところで fallback をオンにする。 - // これ以降の動的変更でエラー終了するのは困るので。 - std::string line = GetConfigKey() + "-fallback=1"; - gConfig->UpdateRunning(line); - - return true; -} - // 設定ファイルキーのプレフィックス ("hostcomX" とか) を返す std::string HostDevice::GetConfigKey() const @@ -234,11 +222,8 @@ HostDevice::putlogn(const char *fmt, ... int len; uint64 vt = scheduler->GetVirtTime(); - len = snprintf(buf, sizeof(buf), "%4u.%03u'%03u'%03u %s ", - (uint)(vt / 1000 / 1000 / 1000), - (uint)((vt / 1000 / 1000) % 1000), - (uint)((vt / 1000) % 1000), - (uint)(vt % 1000), + len = snprintf(buf, sizeof(buf), "%16s %s ", + SecToStr(vt).c_str(), GetName().c_str()); va_start(ap, fmt);