mirror of
https://github.com/keylase/nvidia-patch.git
synced 2024-12-23 05:13:34 +00:00
Merge pull request #373 from Daedalusspacegames/tool-devel
Add the ability to add NvFBC patches without NVENC
This commit is contained in:
commit
2ae6b8f548
@ -72,6 +72,10 @@ def parse_args():
|
|||||||
dest="fbc",
|
dest="fbc",
|
||||||
action="store_false",
|
action="store_false",
|
||||||
help="add driver w/o NvFBC patch")
|
help="add driver w/o NvFBC patch")
|
||||||
|
parser.add_argument("--no-enc",
|
||||||
|
dest="enc",
|
||||||
|
action="store_false",
|
||||||
|
help="add driver w/o NVENC patch")
|
||||||
parser.add_argument("version",
|
parser.add_argument("version",
|
||||||
help="driver version")
|
help="driver version")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
@ -174,7 +178,7 @@ def main():
|
|||||||
else:
|
else:
|
||||||
new_driver = {
|
new_driver = {
|
||||||
"version": args.version,
|
"version": args.version,
|
||||||
"nvenc_patch": True,
|
"nvenc_patch": args.enc,
|
||||||
"nvfbc_patch": args.fbc,
|
"nvfbc_patch": args.fbc,
|
||||||
}
|
}
|
||||||
if url:
|
if url:
|
||||||
|
Loading…
Reference in New Issue
Block a user