diff --git a/src/core/psxmem.h b/src/core/psxmem.h index c5d0df196..754a3ac5a 100644 --- a/src/core/psxmem.h +++ b/src/core/psxmem.h @@ -27,9 +27,9 @@ #if defined(__BIGENDIAN__) -#define SWAP_LE16(v) ((((v) & 0xff00) >> 8) | (((v) & 0xff) << 8)) +#define SWAP_LE16(v) ((((v)&0xff00) >> 8) | (((v)&0xff) << 8)) #define SWAP_LE32(v) \ - ((((v) & 0xff000000ul) >> 24) | (((v) & 0xff0000ul) >> 8) | (((v) & 0xff00ul) << 8) | (((v) & 0xfful) << 24)) + ((((v)&0xff000000ul) >> 24) | (((v)&0xff0000ul) >> 8) | (((v)&0xff00ul) << 8) | (((v)&0xfful) << 24)) #define SWAP_LEu16(v) SWAP_LE16((uint16_t)(v)) #define SWAP_LEu32(v) SWAP_LE32((uint32_t)(v)) diff --git a/src/support/coroutine.h b/src/support/coroutine.h index 152d5098e..12996aef2 100644 --- a/src/support/coroutine.h +++ b/src/support/coroutine.h @@ -26,7 +26,7 @@ SOFTWARE. #pragma once -#if defined (__APPLE__) && (__clang_major__ < 15) +#if defined(__APPLE__) && (__clang_major__ < 15) // Why has Apple become the Microsoft of Software Engineering? #include #else @@ -38,7 +38,7 @@ namespace PCSX { template struct Coroutine { -#if defined (__APPLE__) && (__clang_major__ < 15) +#if defined(__APPLE__) && (__clang_major__ < 15) template using CoroutineHandle = std::experimental::coroutine_handle; using CoroutineHandleVoid = std::experimental::coroutine_handle;