--- nono/vm/dipsw.cpp 2026/04/29 17:05:38 1.1.1.3 +++ nono/vm/dipsw.cpp 2026/04/29 17:05:42 1.1.1.4 @@ -205,10 +205,10 @@ NewsDipswDevice::Init() } // DIP5 オン(true)で自動起動。 - bool val; const ConfigItem& item_autoboot = gConfig->Find("dipsw-autoboot"); const std::string& autoboot = item_autoboot.AsString(); if (autoboot.empty() == false) { + bool val; if (autoboot == "yes") { val = true; } else if (autoboot == "no") {