Mercurial > mplayer.hg
changeset 24517:db41bc3d5b20
avoid rivatv_lock_nv40() from trashing the screen (patch by Guillaume Lecerf <fox at geexbox dot org>)
author | ben |
---|---|
date | Sat, 15 Sep 2007 18:44:54 +0000 |
parents | 610500ad2e6c |
children | 8b525df8357a |
files | vidix/nvidia_vid.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/vidix/nvidia_vid.c Sat Sep 15 18:42:26 2007 +0000 +++ b/vidix/nvidia_vid.c Sat Sep 15 18:44:54 2007 +0000 @@ -505,8 +505,8 @@ } static void rivatv_lock_nv04 (struct rivatv_chip *chip, int LockUnlock){ - VID_WR08 (chip->PCIO, 0x3C4, 0x06); - VID_WR08 (chip->PCIO, 0x3C5, LockUnlock ? 0x99 : 0x57); + VID_WR08 (chip->PVIO, 0x3C4, 0x06); + VID_WR08 (chip->PVIO, 0x3C5, LockUnlock ? 0x99 : 0x57); VID_WR08 (chip->PCIO, 0x3D4, 0x1F); VID_WR08 (chip->PCIO, 0x3D5, LockUnlock ? 0x99 : 0x57); }