mirror of
https://github.com/holub/mame
synced 2025-10-07 01:16:22 +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;
|
bool ismark = false;
|
||||||
if (using_floppy())
|
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
|
else
|
||||||
{
|
{
|
||||||
// f56a 1x1x
|
// f56a 1x1x
|
||||||
|
Loading…
Reference in New Issue
Block a user