diff --git a/src/devices/machine/hdc92x4.cpp b/src/devices/machine/hdc92x4.cpp index cda79df1137..0b92ed0a4c4 100644 --- a/src/devices/machine/hdc92x4.cpp +++ b/src/devices/machine/hdc92x4.cpp @@ -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)