mirror of
https://github.com/FeralInteractive/gamemode.git
synced 2025-06-07 08:07:20 +02:00
Correct the mem argv index and print the intended change
This commit is contained in:
parent
b85edc2e04
commit
4152104d2b
@ -108,7 +108,13 @@ int main(int argc, char *argv[])
|
|||||||
info.vendor = get_vendor(argv[1]);
|
info.vendor = get_vendor(argv[1]);
|
||||||
info.device = get_device(argv[2]);
|
info.device = get_device(argv[2]);
|
||||||
info.core = get_coremem(argv[4]);
|
info.core = get_coremem(argv[4]);
|
||||||
info.mem = get_coremem(argv[4]);
|
info.mem = get_coremem(argv[5]);
|
||||||
|
|
||||||
|
printf("gpuclockctl setting core:%ld mem:%ld on device:%ld with vendor 0x%04x\n",
|
||||||
|
info.core,
|
||||||
|
info.mem,
|
||||||
|
info.device,
|
||||||
|
(unsigned short)info.vendor);
|
||||||
|
|
||||||
return set_gpu_state(&info);
|
return set_gpu_state(&info);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user