avoid rivatv_lock_nv40() from trashing the screen (patch by Guillaume Lecerf <fox at geexbox dot org>)

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24537 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ben 2007-09-15 18:44:54 +00:00
parent 25d3363a96
commit 11f34464a9
1 changed files with 2 additions and 2 deletions

View File

@ -505,8 +505,8 @@ static void rivatv_lock_nv03 (struct rivatv_chip *chip, int LockUnlock){
}
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);
}