summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/peb/spchsyn.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/peb/spchsyn.cpp')
-rw-r--r--src/devices/bus/ti99/peb/spchsyn.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/devices/bus/ti99/peb/spchsyn.cpp b/src/devices/bus/ti99/peb/spchsyn.cpp
index cf7d03add57..8639f4ffa43 100644
--- a/src/devices/bus/ti99/peb/spchsyn.cpp
+++ b/src/devices/bus/ti99/peb/spchsyn.cpp
@@ -27,18 +27,18 @@
#include "machine/spchrom.h"
#include "speaker.h"
-#define LOG_WARN (1U<<1) // Warnings
-#define LOG_CONFIG (1U<<2)
-#define LOG_MEM (1U<<3)
-#define LOG_ADDR (1U<<4)
-#define LOG_READY (1U<<5)
+#define LOG_WARN (1U << 1) // Warnings
+#define LOG_CONFIG (1U << 2)
+#define LOG_MEM (1U << 3)
+#define LOG_ADDR (1U << 4)
+#define LOG_READY (1U << 5)
-#define VERBOSE ( LOG_CONFIG | LOG_WARN )
+#define VERBOSE (LOG_CONFIG | LOG_WARN)
#include "logmacro.h"
-DEFINE_DEVICE_TYPE_NS(TI99_SPEECH, bus::ti99::peb, ti_speech_synthesizer_device, "ti99_speech", "TI-99 Speech synthesizer (on adapter card)")
+DEFINE_DEVICE_TYPE(TI99_SPEECH, bus::ti99::peb::ti_speech_synthesizer_device, "ti99_speech", "TI-99 Speech synthesizer (on adapter card)")
-namespace bus { namespace ti99 { namespace peb {
+namespace bus::ti99::peb {
/****************************************************************************/
@@ -120,7 +120,7 @@ void ti_speech_synthesizer_device::setaddress_dbin(offs_t offset, int state)
/****************************************************************************/
-WRITE_LINE_MEMBER( ti_speech_synthesizer_device::speech_ready )
+void ti_speech_synthesizer_device::speech_ready(int state)
{
// The TMS5200 implementation uses true/false, not ASSERT/CLEAR semantics
// and we have to adapt a /READY to a READY line.
@@ -189,5 +189,5 @@ const tiny_rom_entry *ti_speech_synthesizer_device::device_rom_region() const
return ROM_NAME( ti99_speech );
}
-} } } // end namespace bus::ti99::peb
+} // end namespace bus::ti99::peb