From 2ad21483a84042d612a2d6719edcdc7a805303fb Mon Sep 17 00:00:00 2001 From: angelosa Date: Sun, 16 Jul 2017 19:46:21 +0200 Subject: [PATCH] One-liner conditional comment nit-picky (nw) --- src/devices/video/v9938.cpp | 4 ++-- 1 file 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 ();*/