Add option to automatically turn on replay at system startup

This commit is contained in:
dec05eba
2024-11-01 20:10:48 +01:00
parent 0815da6f2c
commit 6fbd8b0dd3
7 changed files with 36 additions and 19 deletions

View File

@@ -41,9 +41,7 @@ static void disable_prime_run() {
unsetenv("__VK_LAYER_NV_optimus");
}
int main(int argc, char **argv) {
(void)argc;
(void)argv;
int main(void) {
setlocale(LC_ALL, "C"); // Sigh... stupid C
// Cant get window texture when prime-run is used