Previous 199869 Revisions Next

r41613 Friday 6th November, 2015 at 13:05:11 UTC by Ryan Holtz
hdc92x4: Fix ambiguity of ?: operator flagged by PVS-Studio [MooglyGuy]
[src/devices/machine]hdc92x4.c

trunk/src/devices/machine/hdc92x4.c
r250124r250125
19111911   bool ismark = false;
19121912   if (using_floppy())
19131913   {
1914      if (state==SEARCH_IDAM) ismark = (m_live_state.shift_reg == fm_mode() ? 0xf57e : 0x4489);
1914      if (state == SEARCH_IDAM)
1915        {
1916            ismark = (m_live_state.shift_reg == (fm_mode() ? 0xf57e : 0x4489));
1917        }
19151918      else
19161919      {
19171920         // f56a    1x1x


Previous 199869 Revisions Next


© 1997-2024 The MAME Team