machine/hdc92x4: fix CID: 138631 "Operands don't affect result"

This commit is contained in:
Sergey Svishchev 2017-03-10 02:25:53 +03:00
parent 58f2def862
commit 5b9e65a179

View File

@ -1746,9 +1746,9 @@ void hdc92x4_device::seek_read_id()
}
int cont = NEXT;
bool step_enable = (current_command() & 0x04)==1;
bool wait_seek_comp = (current_command() & 0x02)==1;
bool do_verify = (current_command() & 0x01)==1;
bool step_enable = BIT(current_command(), 2);
bool wait_seek_comp = BIT(current_command(), 1);
bool do_verify = BIT(current_command(), 0);
m_logical = true;
while (cont == NEXT)