summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/device.h
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2019-03-26 11:13:37 +1100
committer Vas Crabb <vas@vastheman.com>2019-03-26 11:13:37 +1100
commit97b67170277437131adf6ed4d60139c172529e4f (patch)
tree7a5cbf608f191075f1612b1af15832c206a3fe2d /src/emu/device.h
parentb380514764cf857469bae61c11143a19f79a74c5 (diff)
(nw) Clean up the mess on master
This effectively reverts b380514764cf857469bae61c11143a19f79a74c5 and c24473ddff715ecec2e258a6eb38960cf8c8e98e, restoring the state at 598cd5227223c3b04ca31f0dbc1981256d9ea3ff. Before pushing, please check that what you're about to push is sane. Check your local commit log and ensure there isn't anything out-of-place before pushing to mainline. When things like this happen, it wastes everyone's time. I really don't need this in a week when real work™ is busting my balls and I'm behind where I want to be with preparing for MAME release.
Diffstat (limited to 'src/emu/device.h')
-rw-r--r--src/emu/device.h44
1 files changed, 32 insertions, 12 deletions
diff --git a/src/emu/device.h b/src/emu/device.h
index abaea74cb12..efd7a590e09 100644
--- a/src/emu/device.h
+++ b/src/emu/device.h
@@ -90,23 +90,43 @@ struct device_feature
{
enum type : u32
{
+ // Functionality-related
PROTECTION = u32(1) << 0,
- PALETTE = u32(1) << 1,
+ TIMING = u32(1) << 1,
+
+ // Graphics
GRAPHICS = u32(1) << 2,
- SOUND = u32(1) << 3,
- CONTROLS = u32(1) << 4,
- KEYBOARD = u32(1) << 5,
- MOUSE = u32(1) << 6,
+ PALETTE = u32(1) << 3,
+
+ // Sound
+ SOUND = u32(1) << 4,
+
+ // Capture/Media Output
+ CAPTURE = u32(1) << 5,
+ CAMERA = u32(1) << 6,
MICROPHONE = u32(1) << 7,
- CAMERA = u32(1) << 8,
- DISK = u32(1) << 9,
- PRINTER = u32(1) << 10,
- LAN = u32(1) << 11,
- WAN = u32(1) << 12,
- TIMING = u32(1) << 13,
+
+ // Controls/HID
+ CONTROLS = u32(1) << 8,
+ KEYBOARD = u32(1) << 9,
+ MOUSE = u32(1) << 10,
+
+ // Media Output
+ MEDIA = u32(1) << 11,
+ DISK = u32(1) << 12,
+ PRINTER = u32(1) << 13,
+ TAPE = u32(1) << 14,
+ PUNCH = u32(1) << 15,
+ DRUM = u32(1) << 16,
+ ROM = u32(1) << 17,
+
+ // Comms/Network
+ COMMS = u32(1) << 18,
+ LAN = u32(1) << 19,
+ WAN = u32(1) << 20,
NONE = u32(0),
- ALL = (u32(1) << 14) - 1U
+ ALL = (u32(1) << 21) - 1U
};
};