summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/machine/ps2timer.cpp
diff options
context:
space:
mode:
author Roberto Fresca <robbie@robertofresca.com>2018-10-19 00:35:32 +0200
committer Roberto Fresca <robbie@robertofresca.com>2018-10-19 00:35:32 +0200
commitefe1757a858f03fff73e110626e85af8d2ed7d03 (patch)
tree5433f1344a7120f3d90f9480e79c65ca850b7564 /src/devices/machine/ps2timer.cpp
parentcdb4ae2fab56a624bf8e2ea59f19a57f11ff1109 (diff)
parentf1b3e649fb0a50a6a01da667278b8a62fef99d92 (diff)
Merge branch 'master' of https://github.com/mamedev/mame
Diffstat (limited to 'src/devices/machine/ps2timer.cpp')
-rw-r--r--src/devices/machine/ps2timer.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/machine/ps2timer.cpp b/src/devices/machine/ps2timer.cpp
index 263060b98a5..1ceb1a6257b 100644
--- a/src/devices/machine/ps2timer.cpp
+++ b/src/devices/machine/ps2timer.cpp
@@ -142,8 +142,8 @@ void ps2_timer_device::update_hold()
void ps2_timer_device::set_mode(uint32_t data)
{
- static const char *clks_names[4] = { "BUSCLK", "BUSCLK/16", "BUSCLK/256", "HBLNK" };
- static const char *gatm_names[4] = { "low", "reset+rising", "reset+falling", "reset+both" };
+ static char const *const clks_names[4] = { "BUSCLK", "BUSCLK/16", "BUSCLK/256", "HBLNK" };
+ static char const *const gatm_names[4] = { "low", "reset+rising", "reset+falling", "reset+both" };
logerror("%s: CLKS=%s, GATE=%d, GATS=%cBLNK\n", machine().describe_context(), clks_names[data & 3], BIT(data, 2), BIT(data, 3) ? 'V' : 'H');
logerror("%s: GATM=%s, ZRET=%d, CUE=%d\n", machine().describe_context(), gatm_names[(data >> 4) & 3], BIT(data, 6), BIT(data, 7));
logerror("%s: CMPE=%d, OVFE=%d, %s, %s\n", machine().describe_context(), BIT(data, 8), BIT(data, 9), BIT(data, 10) ? "Clear Equal" : "", BIT(data, 11) ? "Clear Overflow" : "");