Allow starting/stopping replay manually when using 'start replay at game launch' option, handle enobufs in game tracker, stop replay when unplugging power supply if that option is enabled

This commit is contained in:
dec05eba
2026-04-19 01:47:28 +02:00
parent 247c8fb86c
commit 527820bd40
3 changed files with 41 additions and 26 deletions

View File

@@ -245,6 +245,7 @@ int main(void) {
ssize_t n = recv(sock, recv_buf, sizeof(recv_buf), 0);
if (n < 0) {
if (errno == EINTR) continue;
if (errno == ENOBUFS) { scan_existing_processes(); continue; }
perror("recv");
break;
}