Fix for GFE 3.10

This commit is contained in:
Iwan Timmer 2017-10-24 19:59:33 +02:00
parent 9ed221bda8
commit a0c43053e7

View File

@ -245,7 +245,7 @@ static int load_server_status(PSERVER_DATA server) {
server->supports4K = serverCodecModeSupportText != NULL;
server->serverMajorVersion = atoi(server->serverInfo.serverInfoAppVersion);
if (strstr(stateText, "_SERVER_AVAILABLE")) {
if (strstr(stateText, "_SERVER_BUSY") == NULL) {
// After GFE 2.8, current game remains set even after streaming
// has ended. We emulate the old behavior by forcing it to zero
// if streaming is not active.