diff options
author | 2018-10-07 16:52:39 +0200 | |
---|---|---|
committer | 2018-10-07 10:52:39 -0400 | |
commit | fce6de9d16ffdc52fcbd45321d7730f9066e08e4 (patch) | |
tree | e39bd95e95dfe72726cb4f2e05d46ef44b2a297c /src/devices/bus/hp_dio/hp98543.cpp | |
parent | f644d2098132777cecc1d7d2214fe5c38e3af26e (diff) |
hp_dio: add namespace (nw) (#3939)
* hp_dio: add namespace (nw)
* hp_dio: add comment on closing namespace brackets (nw)
Diffstat (limited to 'src/devices/bus/hp_dio/hp98543.cpp')
-rw-r--r-- | src/devices/bus/hp_dio/hp98543.cpp | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/src/devices/bus/hp_dio/hp98543.cpp b/src/devices/bus/hp_dio/hp98543.cpp index b9d75b5a7eb..00de8cc43f9 100644 --- a/src/devices/bus/hp_dio/hp98543.cpp +++ b/src/devices/bus/hp_dio/hp98543.cpp @@ -21,7 +21,10 @@ ROM_START(hp98543) ROM_LOAD("1818-3907.bin", 0x000000, 0x002000, CRC(5e2bf02a) SHA1(9ba9391cf39624ef8027ce42c84e100344b2a2b8)) ROM_END -DEFINE_DEVICE_TYPE(HPDIO_98543, dio16_98543_device, "dio98543", "HP98543 medium-res color DIO video card") +DEFINE_DEVICE_TYPE_NS(HPDIO_98543, bus::hp_dio, dio16_98543_device, "dio98543", "HP98543 medium-res color DIO video card") + +namespace bus { + namespace hp_dio { MACHINE_CONFIG_START(dio16_98543_device::device_add_mconfig) MCFG_SCREEN_ADD(HP98543_SCREEN_NAME, RASTER) @@ -53,7 +56,6 @@ MACHINE_CONFIG_START(dio16_98543_device::device_add_mconfig) MCFG_DEVICE_ADD("nereid", NEREID, 0) MACHINE_CONFIG_END - const tiny_rom_entry *dio16_98543_device::device_rom_region() const { return ROM_NAME(hp98543); @@ -190,3 +192,6 @@ uint32_t dio16_98543_device::screen_update(screen_device &screen, bitmap_rgb32 & } return 0; } + +} // namespace bus::hp_dio +} // namespace bus |