now _really_ fixed CRT monitor detection!

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6437 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen 2004-01-30 22:04:53 +00:00
parent b4db97878b
commit 5137100184
2 changed files with 2 additions and 2 deletions

View File

@ -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"));

View File

@ -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"));