summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/drivers/prestige.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-01 01:17:27 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-01 01:20:03 +1000
commita0ce6c3b37050c1a765ae13babb109c729153989 (patch)
tree8ae40b20d0271d82d5780fd588e73a3f34313b98 /src/mame/drivers/prestige.cpp
parentf127621e13050aad6b455ebfadec5bfdcbdd00d4 (diff)
fix after pass through the diff
Diffstat (limited to 'src/mame/drivers/prestige.cpp')
-rw-r--r--src/mame/drivers/prestige.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mame/drivers/prestige.cpp b/src/mame/drivers/prestige.cpp
index 9c6206c39f7..2f96452e14c 100644
--- a/src/mame/drivers/prestige.cpp
+++ b/src/mame/drivers/prestige.cpp
@@ -253,8 +253,8 @@ READ8_MEMBER( prestige_state::mouse_r )
break;
}
- data = std::min(data, INT16(+127));
- data = std::min(data, INT16(-127));
+ data = (std::min)(data, INT16(+127));
+ data = (std::max)(data, INT16(-127));
return 0x80 + data;
}