Savestate: SSC - DTR : added a todo comment

This commit is contained in:
tomcw 2017-03-19 17:27:07 +00:00
parent 49752ff7c3
commit b377dc8afb

View File

@ -1327,6 +1327,8 @@ void CSuperSerialCard::SetSnapshot_v1( const DWORD baudrate,
// memcpy(m_RecvBuffer, pSS->recvbuffer, uRecvBufferSize); // memcpy(m_RecvBuffer, pSS->recvbuffer, uRecvBufferSize);
// m_vRecvBytes = recvbytes; // m_vRecvBytes = recvbytes;
m_uStopBits = stopbits; m_uStopBits = stopbits;
//m_uDTR = (m_uCommandByte & 0x01) ? DTR_CONTROL_ENABLE : DTR_CONTROL_DISABLE; // TODO: Once GH#386 is resolved
} }
//=========================================================================== //===========================================================================
@ -1433,6 +1435,8 @@ bool CSuperSerialCard::LoadSnapshot(YamlLoadHelper& yamlLoadHelper, UINT slot, U
m_vbRxIrqPending = yamlLoadHelper.LoadBool(SS_YAML_KEY_RXIRQPENDING); m_vbRxIrqPending = yamlLoadHelper.LoadBool(SS_YAML_KEY_RXIRQPENDING);
m_bWrittenTx = yamlLoadHelper.LoadBool(SS_YAML_KEY_WRITTENTX); m_bWrittenTx = yamlLoadHelper.LoadBool(SS_YAML_KEY_WRITTENTX);
//m_uDTR = (m_uCommandByte & 0x01) ? DTR_CONTROL_ENABLE : DTR_CONTROL_DISABLE; // TODO: Once GH#386 is resolved
std::string serialPortName = yamlLoadHelper.LoadString(SS_YAML_KEY_SERIALPORTNAME); std::string serialPortName = yamlLoadHelper.LoadString(SS_YAML_KEY_SERIALPORTNAME);
SetSerialPortName(serialPortName.c_str()); SetSerialPortName(serialPortName.c_str());