mirror of
https://github.com/mpv-player/mpv
synced 2025-02-18 13:47:04 +00:00
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:
parent
25d3363a96
commit
11f34464a9
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user