summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/bus/interpro
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2021-09-07 23:15:50 +1000
committer Vas Crabb <vas@vastheman.com>2021-09-07 23:15:50 +1000
commit142f96023889fc2c09a01318947f81cdb0e0f424 (patch)
tree39135ee898b7213937dbc779528f3550982b6a5a /src/devices/bus/interpro
parentd6873bfaccee1b1c5bb8e6ec9127c4ed860d8564 (diff)
-Reworked device type definition macros a little and added more Doxygen.
* Reworked device type definition macros to eliminate one level of indirection when using device types by name. * Fixed a potential initialisation order issue that could affect device parent ROMs. * Eliminated the need for DEFINE_DEVICE_TYPE_NS - just use DEFINE_DEVICE_TYPE or DEFINE_DEVICE_TYPE_PRIVATE with fully-qualified names. * Changed device type aliases to static auto references in the headers. * Added Doxygen comments for system/device definition macros and system flags. -Added ROM parents for m68705u3 and a2diskiing.
Diffstat (limited to 'src/devices/bus/interpro')
-rw-r--r--src/devices/bus/interpro/keyboard/hle.cpp2
-rw-r--r--src/devices/bus/interpro/keyboard/lle.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/bus/interpro/keyboard/hle.cpp b/src/devices/bus/interpro/keyboard/hle.cpp
index 66fa8e44a30..89217cc10ad 100644
--- a/src/devices/bus/interpro/keyboard/hle.cpp
+++ b/src/devices/bus/interpro/keyboard/hle.cpp
@@ -120,7 +120,7 @@
#define VERBOSE 0
#include "logmacro.h"
-DEFINE_DEVICE_TYPE_NS(INTERPRO_HLE_EN_US_KEYBOARD, bus::interpro::keyboard, hle_en_us_device, "kbd_hle_en_us", "InterPro Keyboard (HLE, US English)")
+DEFINE_DEVICE_TYPE(INTERPRO_HLE_EN_US_KEYBOARD, bus::interpro::keyboard::hle_en_us_device, "kbd_hle_en_us", "InterPro Keyboard (HLE, US English)")
namespace bus::interpro::keyboard {
diff --git a/src/devices/bus/interpro/keyboard/lle.cpp b/src/devices/bus/interpro/keyboard/lle.cpp
index 7151f1e0fc0..1556a3f4779 100644
--- a/src/devices/bus/interpro/keyboard/lle.cpp
+++ b/src/devices/bus/interpro/keyboard/lle.cpp
@@ -155,7 +155,7 @@
#define VERBOSE (0)
#include "logmacro.h"
-DEFINE_DEVICE_TYPE_NS(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard, lle_en_us_device, "kbd_lle_en_us", "InterPro Keyboard (LLE, US English)")
+DEFINE_DEVICE_TYPE(INTERPRO_LLE_EN_US_KEYBOARD, bus::interpro::keyboard::lle_en_us_device, "kbd_lle_en_us", "InterPro Keyboard (LLE, US English)")
namespace bus::interpro::keyboard {