| 1436 | } |
| 1437 | |
| 1438 | void CSuperSerialCard::SaveSnapshotDIPSW(YamlSaveHelper& yamlSaveHelper, std::string key, SSC_DIPSW& dipsw) |
| 1439 | { |
| 1440 | YamlSaveHelper::Label label(yamlSaveHelper, "%s:\n", key.c_str()); |
| 1441 | yamlSaveHelper.SaveUint(SS_YAML_KEY_BAUDRATE, dipsw.uBaudRate); |
| 1442 | yamlSaveHelper.SaveUint(SS_YAML_KEY_FWMODE, dipsw.eFirmwareMode); |
| 1443 | yamlSaveHelper.SaveUint(SS_YAML_KEY_STOPBITS, dipsw.uStopBits); |
| 1444 | yamlSaveHelper.SaveUint(SS_YAML_KEY_BYTESIZE, dipsw.uByteSize); |
| 1445 | yamlSaveHelper.SaveUint(SS_YAML_KEY_PARITY, dipsw.uParity); |
| 1446 | yamlSaveHelper.SaveBool(SS_YAML_KEY_LINEFEED, dipsw.bLinefeed); |
| 1447 | yamlSaveHelper.SaveBool(SS_YAML_KEY_INTERRUPTS, dipsw.bInterrupts); |
| 1448 | } |
| 1449 | |
| 1450 | void CSuperSerialCard::SaveSnapshot(YamlSaveHelper& yamlSaveHelper) |
| 1451 | { |