TEMP
Merge branch 'Moonlight-iOS-Official9.0.2' into Moonlight-iOS-ZWM2 * Moonlight-iOS-Official9.0.2: (29 commits) Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Update README.md Version 9.0.2 Update moonlight-common-c to resolve build warning Improve smooth scrolling precision mapped the Globe/Language key to Escape yes 0x0D is the correct code for Enter according to Microsoft's documentation Update moonlight-common-c with RTSP encryption and QoS improvements Remove xcpretty in CI Update AppVeyor images Remove CPU core count check Update moonlight-common-c with finalized encryption changes Opt in for video encryption on A10 and later SoCs ... # Conflicts: # Limelight/Input/StreamView.m # Moonlight-ZWM.xcodeproj/project.pbxproj
This commit is contained in:
@@ -439,9 +439,21 @@
|
||||
break;
|
||||
|
||||
default:
|
||||
{
|
||||
NSString* errorString;
|
||||
if (abs(errorCode) > 1000) {
|
||||
// We'll assume large errors are hex values
|
||||
errorString = [NSString stringWithFormat:@"%08X", (uint32_t)errorCode];
|
||||
}
|
||||
else {
|
||||
// Smaller values will just be printed as decimal (probably errno.h values)
|
||||
errorString = [NSString stringWithFormat:@"%d", errorCode];
|
||||
}
|
||||
|
||||
title = @"Connection Terminated";
|
||||
message = @"The connection was terminated";
|
||||
message = [NSString stringWithFormat: @"The connection was terminated\n\nError code: %@", errorString];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user