summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/ti99/colorbus/busmouse.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/bus/ti99/colorbus/busmouse.cpp')
-rw-r--r--src/devices/bus/ti99/colorbus/busmouse.cpp15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/devices/bus/ti99/colorbus/busmouse.cpp b/src/devices/bus/ti99/colorbus/busmouse.cpp
index 701be4ee398..a84e7e22ef0 100644
--- a/src/devices/bus/ti99/colorbus/busmouse.cpp
+++ b/src/devices/bus/ti99/colorbus/busmouse.cpp
@@ -16,16 +16,16 @@
#include "emu.h"
#include "busmouse.h"
-#define LOG_BUTTON (1U<<1) // Buttons
-#define LOG_MOVEX (1U<<2) // x movement
-#define LOG_MOVEY (1U<<3) // y movement
+#define LOG_BUTTON (1U << 1) // Buttons
+#define LOG_MOVEX (1U << 2) // x movement
+#define LOG_MOVEY (1U << 3) // y movement
-#define VERBOSE ( LOG_GENERAL )
+#define VERBOSE (LOG_GENERAL)
#include "logmacro.h"
-DEFINE_DEVICE_TYPE_NS(V9938_BUSMOUSE, bus::ti99::colorbus, v9938_busmouse_device, "v9938_busmouse", "V9938 Bus Mouse")
+DEFINE_DEVICE_TYPE(V9938_BUSMOUSE, bus::ti99::colorbus::v9938_busmouse_device, "v9938_busmouse", "V9938 Bus Mouse")
-namespace bus { namespace ti99 { namespace colorbus {
+namespace bus::ti99::colorbus {
v9938_busmouse_device::v9938_busmouse_device(const machine_config &mconfig, const char *tag, device_t *owner, uint32_t clock)
: device_t(mconfig, V9938_BUSMOUSE, tag, owner, clock),
@@ -100,4 +100,5 @@ ioport_constructor v9938_busmouse_device::device_input_ports() const
{
return INPUT_PORTS_NAME( busmouse );
}
-} } } // end namespace bus::ti99::colorbus
+
+} // end namespace bus::ti99::colorbus