diff --git a/src/devices/bus/rs232/null_modem.cpp b/src/devices/bus/rs232/null_modem.cpp index 2c5ff25b0c3..f2830ef2088 100644 --- a/src/devices/bus/rs232/null_modem.cpp +++ b/src/devices/bus/rs232/null_modem.cpp @@ -75,8 +75,6 @@ WRITE_LINE_MEMBER(null_modem_device::update_serial) output_dsr(0); output_cts(0); - m_rts = 0; - m_dtr = 0; m_xoff = 0; } diff --git a/src/devices/bus/rs232/null_modem.h b/src/devices/bus/rs232/null_modem.h index 03e05019baa..206ddfa6a1c 100644 --- a/src/devices/bus/rs232/null_modem.h +++ b/src/devices/bus/rs232/null_modem.h @@ -3,6 +3,8 @@ #ifndef MAME_BUS_RS232_NULL_MODEM_H #define MAME_BUS_RS232_NULL_MODEM_H +#pragma once + #include "rs232.h" #include "imagedev/bitbngr.h" #include "diserial.h"