mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-12-22 21:03:35 +00:00
linux: switch to new patching style
This commit is contained in:
parent
f674380a0b
commit
64ef3f526e
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.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.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.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=(
|
declare -A object_list=(
|
||||||
@ -121,7 +121,7 @@ declare -A object_list=(
|
|||||||
["440.26"]='libnvcuvid.so'
|
["440.26"]='libnvcuvid.so'
|
||||||
["440.31"]='libnvcuvid.so'
|
["440.31"]='libnvcuvid.so'
|
||||||
["440.33.01"]='libnvcuvid.so'
|
["440.33.01"]='libnvcuvid.so'
|
||||||
["440.36"]='libnvcuvid.so'
|
["440.36"]='libnvidia-encode.so'
|
||||||
)
|
)
|
||||||
|
|
||||||
check_version_supported () {
|
check_version_supported () {
|
||||||
|
Loading…
Reference in New Issue
Block a user