Created
November 2, 2017 13:02
-
-
Save teslamint/7b97f8ca3350d170f82aa53bb978a3e6 to your computer and use it in GitHub Desktop.
DOSBox SVN r4063 nullmodem patch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Index: src/hardware/serialport/nullmodem.cpp | |
=================================================================== | |
--- a/src/hardware/serialport/nullmodem.cpp (revision 4063) | |
+++ b/src/hardware/serialport/nullmodem.cpp (working copy) | |
@@ -148,7 +148,7 @@ | |
setCTS(dtrrespect||transparent); | |
setDSR(dtrrespect||transparent); | |
setRI(false); | |
- setCD(clientsocket > 0); // CD on if connection established | |
+ setCD(clientsocket != NULL); // CD on if connection established | |
} | |
CNullModem::~CNullModem() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment