mirror of https://github.com/stella-emu/stella.git
Fix compile error in Windows port from recent code refactoring.
This commit is contained in:
parent
67273e9df8
commit
19c05e878c
|
@ -52,7 +52,8 @@ bool SerialPortWINDOWS::openPort(const string& device)
|
||||||
dcb.DCBlength = sizeof(dcb);
|
dcb.DCBlength = sizeof(dcb);
|
||||||
if(!BuildCommDCB("19200,n,8,1", &dcb))
|
if(!BuildCommDCB("19200,n,8,1", &dcb))
|
||||||
{
|
{
|
||||||
closePort();
|
CloseHandle(myHandle);
|
||||||
|
myHandle = 0;
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue