diff --git a/app/backend/systemproperties.cpp b/app/backend/systemproperties.cpp index c5d7c5d2..8026721d 100644 --- a/app/backend/systemproperties.cpp +++ b/app/backend/systemproperties.cpp @@ -24,8 +24,8 @@ SystemProperties::SystemProperties() USHORT processArch, machineArch; // Use IsWow64Process2 on TH2 and later, because it supports ARM64 - auto isWow64Process2 = (decltype(IsWow64Process2)*)GetProcAddress(GetModuleHandleA("kernel32.dll"), "IsWow64Process2"); - if (isWow64Process2 != nullptr && IsWow64Process2(GetCurrentProcess(), &processArch, &machineArch)) { + auto fnIsWow64Process2 = (decltype(IsWow64Process2)*)GetProcAddress(GetModuleHandleA("kernel32.dll"), "IsWow64Process2"); + if (fnIsWow64Process2 != nullptr && fnIsWow64Process2(GetCurrentProcess(), &processArch, &machineArch)) { switch (machineArch) { case IMAGE_FILE_MACHINE_I386: nativeArch = "i386"; diff --git a/app/gui/main.qml b/app/gui/main.qml index 8763a79a..95d4b572 100644 --- a/app/gui/main.qml +++ b/app/gui/main.qml @@ -405,7 +405,7 @@ ApplicationWindow { NavigableMessageDialog { id: wow64Dialog standardButtons: Dialog.Ok | Dialog.Cancel - text: qsTr("This PC is running the %1 version of Windows. Please download the %1 version of Moonlight for the best streaming performance.").arg(SystemProperties.friendlyNativeArchName) + text: qsTr("This version of Moonlight isn't optimized for your PC. Please download the '%1' version of Moonlight for the best streaming performance.").arg(SystemProperties.friendlyNativeArchName) onAccepted: { Qt.openUrlExternally("https://github.com/moonlight-stream/moonlight-qt/releases"); }