Fix GS state tracking

This commit is contained in:
Cameron Gutman
2018-10-20 19:54:49 -07:00
parent 8362f5495c
commit 0e7bea68ae
+1
View File
@@ -557,6 +557,7 @@ DWORD WINAPI GameStreamStateChangeThread(PVOID Context)
if (lastGameStreamState != currentGameStreamState) { if (lastGameStreamState != currentGameStreamState) {
SetEvent((HANDLE)Context); SetEvent((HANDLE)Context);
} }
lastGameStreamState = currentGameStreamState;
} }
printf("RegNotifyChangeKeyValue() failed: %d" NL, err); printf("RegNotifyChangeKeyValue() failed: %d" NL, err);