diff --git a/Source/Common/CommonUtils.h b/Source/Common/CommonUtils.h index 68c53eac..2ff1768c 100644 --- a/Source/Common/CommonUtils.h +++ b/Source/Common/CommonUtils.h @@ -5,14 +5,14 @@ #elif _WIN32 #include #elif __APPLE__ -#define bswap_16(value) (static_cast((((value)&0xff) << 8) | ((value) >> 8))) +#define bswap_16(value) (static_cast((((value) & 0xff) << 8) | ((value) >> 8))) #define bswap_32(value) \ - (((uint32_t)bswap_16((uint16_t)((value)&0xffff)) << 16) | \ + (((uint32_t)bswap_16((uint16_t)((value) & 0xffff)) << 16) | \ (uint32_t)bswap_16((uint16_t)((value) >> 16))) #define bswap_64(value) \ - (((uint64_t)bswap_32((uint32_t)((value)&0xffffffff)) << 32) | \ + (((uint64_t)bswap_32((uint32_t)((value) & 0xffffffff)) << 32) | \ (uint64_t)bswap_32((uint32_t)((value) >> 32))) #endif diff --git a/Source/main.cpp b/Source/main.cpp index 8e749fa3..4261d7bd 100644 --- a/Source/main.cpp +++ b/Source/main.cpp @@ -21,8 +21,7 @@ int main(int argc, char** argv) parser.addVersionOption(); const QCommandLineOption dolphinProcessNameOption( - QStringList() << "d" - << "dolphin-process-name", + QStringList() << "d" << "dolphin-process-name", QObject::tr("Specify custom name for the Dolphin Emulator process. By default, " "platform-specific names are used (e.g. \"Dolphin.exe\" on Windows, or " "\"dolphin-emu\" on Linux or macOS)."),