diff options
author | Wohlstand <admin@wohlnet.ru> | 2024-05-11 04:40:33 +0300 |
---|---|---|
committer | Wohlstand <admin@wohlnet.ru> | 2024-05-11 04:40:33 +0300 |
commit | 2309ed8575f2267fc5ee250377982ae07364e40b (patch) | |
tree | 2752e95e72b13a25adce1624bf1c7b86c11a9ff7 /src/chips/opl_serial_port.cpp | |
parent | 40af837e64145b97e9e2e6392e593dc685433efa (diff) | |
download | libADLMIDI-2309ed8575f2267fc5ee250377982ae07364e40b.tar.gz libADLMIDI-2309ed8575f2267fc5ee250377982ae07364e40b.tar.bz2 libADLMIDI-2309ed8575f2267fc5ee250377982ae07364e40b.zip |
opl_serial_port: Fixed the polymorphism
Diffstat (limited to 'src/chips/opl_serial_port.cpp')
-rw-r--r-- | src/chips/opl_serial_port.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chips/opl_serial_port.cpp b/src/chips/opl_serial_port.cpp index 0d2e58d..1607d8c 100644 --- a/src/chips/opl_serial_port.cpp +++ b/src/chips/opl_serial_port.cpp @@ -97,7 +97,7 @@ bool OPL_SerialPort::connectPort(const std::string& name, unsigned baudRate, uns void OPL_SerialPort::writeReg(uint16_t addr, uint8_t data) { uint8_t sendBuffer[16]; - ChipSerialPort *port = m_port; + ChipSerialPortBase *port = m_port; if(!port || !port->isOpen()) return; |