mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-04-02 22:06:10 +00:00
Use APP_VERSION_AT_LEAST in a couple other places
This commit is contained in:
@@ -465,7 +465,7 @@ static int sendEnableHaptics(void) {
|
||||
|
||||
// Avoid sending this on earlier server versions, since they may terminate
|
||||
// the connection upon receiving an unexpected packet.
|
||||
if (AppVersionQuad[0] < 7 || (AppVersionQuad[0] == 7 && AppVersionQuad[1] < 1)) {
|
||||
if (!APP_VERSION_AT_LEAST(7, 1, 0)) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
@@ -361,9 +361,7 @@ static PSDP_OPTION getAttributesList(char*urlSafeAddr) {
|
||||
}
|
||||
}
|
||||
|
||||
if (AppVersionQuad[0] < 7 ||
|
||||
(AppVersionQuad[0] == 7 && AppVersionQuad[1] < 1) ||
|
||||
(AppVersionQuad[0] == 7 && AppVersionQuad[1] == 1 && AppVersionQuad[2] < 408)) {
|
||||
if (!APP_VERSION_AT_LEAST(7, 1, 408)) {
|
||||
// This disables split frame encode on GFE 3.10 which seems to produce broken
|
||||
// HEVC output at 1080p60 (full of artifacts even on the SHIELD itself, go figure).
|
||||
// It now appears to work fine on GFE 3.14.1.
|
||||
|
||||
Reference in New Issue
Block a user