Skip to content

Commit

Permalink
Re-format Source directory with Clang-Format 18.
Browse files Browse the repository at this point in the history
Only minor changes in two files.
  • Loading branch information
cristian64 committed Jul 12, 2024
1 parent af7b78f commit 8e49bae
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Source/Common/CommonUtils.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
#elif _WIN32
#include <stdlib.h>
#elif __APPLE__
#define bswap_16(value) (static_cast<u16>((((value)&0xff) << 8) | ((value) >> 8)))
#define bswap_16(value) (static_cast<u16>((((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

Expand Down
3 changes: 1 addition & 2 deletions Source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)."),
Expand Down

0 comments on commit 8e49bae

Please sign in to comment.