mirror of
https://github.com/moonlight-stream/Internet-Hosting-Tool.git
synced 2025-07-01 23:35:27 +00:00
Compare commits
3 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
ddd86d91eb | ||
|
546e30f363 | ||
|
432c2e226c |
@ -1 +1 @@
|
||||
Subproject commit 2793d3d1d244b257476b133a1617156edfb60b87
|
||||
Subproject commit e0db902f7dffb80aa63d5d330fceed243efe66a4
|
@ -912,7 +912,7 @@ DWORD WINAPI GameStreamStateChangeThread(PVOID Context)
|
||||
|
||||
// Notify the main thread when the GameStream state changes
|
||||
bool lastGameStreamState = IsGameStreamEnabled();
|
||||
while ((err = RegNotifyChangeKeyValue(key, true, REG_NOTIFY_CHANGE_LAST_SET, nullptr, false)) == ERROR_SUCCESS) {
|
||||
while ((err = RegNotifyChangeKeyValue(key, true, REG_NOTIFY_CHANGE_NAME | REG_NOTIFY_CHANGE_LAST_SET, nullptr, false)) == ERROR_SUCCESS) {
|
||||
bool currentGameStreamState = IsGameStreamEnabled();
|
||||
if (lastGameStreamState != currentGameStreamState) {
|
||||
SetEvent((HANDLE)Context);
|
||||
|
Loading…
x
Reference in New Issue
Block a user