summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
author angelosa <salese_corp_ltd@email.it>2017-07-16 19:46:21 +0200
committer angelosa <salese_corp_ltd@email.it>2017-07-16 19:46:50 +0200
commit2ad21483a84042d612a2d6719edcdc7a805303fb (patch)
tree8ccb45d83854230787d43ab13cc4f7d01a9b5ff4
parentd12737e6f871997ff78ba7640a3d8112b0280578 (diff)
One-liner conditional comment nit-picky (nw)
-rw-r--r--src/devices/video/v9938.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/v9938.cpp b/src/devices/video/v9938.cpp
index d7a3dcb542a..5fc4327adee 100644
--- a/src/devices/video/v9938.cpp
+++ b/src/devices/video/v9938.cpp
@@ -468,9 +468,9 @@ uint8_t v99x8_device::status_r()
case 1:
ret = m_stat_reg[1];
m_stat_reg[1] &= 0xfe;
+ // mouse mode: add button state
if ((m_cont_reg[8] & 0xc0) == 0x80)
- // mouse mode: add button state
- ret |= m_button_state & 0xc0;
+ ret |= m_button_state & 0xc0;
break;
case 2:
/*update_command ();*/