mirror of https://github.com/stella-emu/stella.git
Fix more fallout from code refactoring.
This commit is contained in:
parent
19c05e878c
commit
6ec46b9836
|
@ -39,7 +39,7 @@ class SerialPort
|
||||||
@param device The name of the port
|
@param device The name of the port
|
||||||
@return False on any errors, else true
|
@return False on any errors, else true
|
||||||
*/
|
*/
|
||||||
virtual bool openPort(const string& device) = 0;
|
virtual bool openPort(const string& device) { return false; }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Read a byte from the serial port.
|
Read a byte from the serial port.
|
||||||
|
@ -56,7 +56,7 @@ class SerialPort
|
||||||
@param data The byte to write to the port
|
@param data The byte to write to the port
|
||||||
@return True if a byte was written, else false
|
@return True if a byte was written, else false
|
||||||
*/
|
*/
|
||||||
virtual bool writeByte(uInt8 data) = 0;
|
virtual bool writeByte(uInt8 data) { return false; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// Following constructors and assignment operators not supported
|
// Following constructors and assignment operators not supported
|
||||||
|
|
Loading…
Reference in New Issue