summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/ioport.h
diff options
context:
space:
mode:
author Couriersud <couriersud@users.noreply.github.com>2012-07-22 11:02:40 +0000
committer Couriersud <couriersud@users.noreply.github.com>2012-07-22 11:02:40 +0000
commitd1b347c3f665e6050530e8c16b18ed4de4d1e8bf (patch)
treeb34b7ea072fe3aea655db98d9b7987a65c657ed8 /src/emu/ioport.h
parent06a51716dc8782852508205ac6ff7d7e9080cfc7 (diff)
PORT_ADJUSTER now accepts PORT_MINMAX as well. [Couriersud]
Diffstat (limited to 'src/emu/ioport.h')
-rw-r--r--src/emu/ioport.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/emu/ioport.h b/src/emu/ioport.h
index 718ce3c1b25..93dd77820ba 100644
--- a/src/emu/ioport.h
+++ b/src/emu/ioport.h
@@ -1606,6 +1606,7 @@ ATTR_COLD void INPUT_PORTS_NAME(_name)(device_t &owner, ioport_list &portlist, a
// analog adjuster definition
#define PORT_ADJUSTER(_default, _name) \
configurer.field_alloc(IPT_ADJUSTER, (_default), 0xff, (_name)); \
+ configurer.field_set_min_max(0, 100); \
// config definition
#define PORT_CONFNAME(_mask, _default, _name) \