mirror of
https://github.com/holub/mame
synced 2025-07-06 18:39:28 +03:00
hdc92x4: Fix ambiguity of ?: operator flagged by PVS-Studio [MooglyGuy]
This commit is contained in:
parent
52fa9421b9
commit
93c53de0bc
@ -1911,7 +1911,10 @@ bool hdc92x4_device::found_mark(int state)
|
||||
bool ismark = false;
|
||||
if (using_floppy())
|
||||
{
|
||||
if (state==SEARCH_IDAM) ismark = (m_live_state.shift_reg == fm_mode() ? 0xf57e : 0x4489);
|
||||
if (state == SEARCH_IDAM)
|
||||
{
|
||||
ismark = (m_live_state.shift_reg == (fm_mode() ? 0xf57e : 0x4489));
|
||||
}
|
||||
else
|
||||
{
|
||||
// f56a 1x1x
|
||||
|
Loading…
Reference in New Issue
Block a user