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:
parent
b4db97878b
commit
5137100184
@ -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"));
|
||||
|
@ -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"));
|
||||
|
Loading…
Reference in New Issue
Block a user