diff --git a/src/add-ons/accelerants/nvidia/engine/nv_dac.c b/src/add-ons/accelerants/nvidia/engine/nv_dac.c index 11019c6928..5d107e2439 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_dac.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_dac.c @@ -40,7 +40,7 @@ bool nv_dac_crt_connected(void) snooze(1000); /* do actual detection: all signals paths high == CRT connected */ - if DACR(TSTCTRL & 0x10000000) + if (DACR(TSTCTRL) & 0x10000000) { present = true; LOG(4,("DAC: CRT detected\n")); diff --git a/src/add-ons/accelerants/nvidia/engine/nv_dac2.c b/src/add-ons/accelerants/nvidia/engine/nv_dac2.c index 2a747dcd93..fd8a930bdc 100644 --- a/src/add-ons/accelerants/nvidia/engine/nv_dac2.c +++ b/src/add-ons/accelerants/nvidia/engine/nv_dac2.c @@ -40,7 +40,7 @@ bool nv_dac2_crt_connected() snooze(1000); /* do actual detection: all signals paths high == CRT connected */ - if DAC2R(TSTCTRL & 0x10000000) + if (DAC2R(TSTCTRL) & 0x10000000) { present = true; LOG(4,("DAC2: CRT detected\n"));