Minor refactor for many GetSnapshotCardName()

This commit is contained in:
tomcw committed 2026-03-13 20:20:02 +00:00
1 parent 9ae035d122
commit 3fa34a3bdf
9 files changed
+10 -26

No files matched your search

+1 -3
View File
@@ -1408,8 +1408,6 @@ void CSuperSerialCard::SetRegistrySerialPortName(void)
// Removed: redundant data (encapsulated in Command & Control bytes)
static const UINT kUNIT_VERSION = 2;
#define SS_YAML_VALUE_CARD_SSC "Super Serial Card"
#define SS_YAML_KEY_DIPSWDEFAULT "DIPSW Default"
#define SS_YAML_KEY_DIPSWCURRENT "DIPSW Current"
@@ -1433,7 +1431,7 @@ static const UINT kUNIT_VERSION = 2;
const std::string& CSuperSerialCard::GetSnapshotCardName(void)
{
static const std::string name(SS_YAML_VALUE_CARD_SSC);
static const std::string name("Super Serial Card");
return name;
}