mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-11-25 15:07:18 +00:00
Merge pull request #197 from Snawoot/linux_patch_libnvidia-encode
linux: switch to new patching style
This commit is contained in:
commit
a2401e1fd0
4
patch.sh
4
patch.sh
@ -81,7 +81,7 @@ declare -A patch_list=(
|
||||
["440.26"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
|
||||
["440.31"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
|
||||
["440.33.01"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
|
||||
["440.36"]='s/\xff\x90\x98\x00\x00\x00\x84\xc0\x0f\x84/\xff\x90\x98\x00\x00\x00\x0c\x01\x0f\x84/g'
|
||||
["440.36"]='s/\x85\xc0\x41\x89\xc4\x75\x1f/\x31\xc0\x41\x89\xc4\x75\x1f/g'
|
||||
)
|
||||
|
||||
declare -A object_list=(
|
||||
@ -121,7 +121,7 @@ declare -A object_list=(
|
||||
["440.26"]='libnvcuvid.so'
|
||||
["440.31"]='libnvcuvid.so'
|
||||
["440.33.01"]='libnvcuvid.so'
|
||||
["440.36"]='libnvcuvid.so'
|
||||
["440.36"]='libnvidia-encode.so'
|
||||
)
|
||||
|
||||
check_version_supported () {
|
||||
|
Loading…
Reference in New Issue
Block a user