Skip to content

Commit

Permalink
Merge pull request #1606 from grumpycoders/chores-code-format
Browse files Browse the repository at this point in the history
[Chores] Format code
  • Loading branch information
nicolasnoble authored Mar 11, 2024
2 parents 2f572ef + 39c1456 commit b77eed3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/core/psxmem.h
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down
4 changes: 2 additions & 2 deletions src/support/coroutine.h
Original file line number Diff line number Diff line change
Expand Up @@ -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 <experimental/coroutine>
#else
Expand All @@ -38,7 +38,7 @@ namespace PCSX {

template <typename T = void>
struct Coroutine {
#if defined (__APPLE__) && (__clang_major__ < 15)
#if defined(__APPLE__) && (__clang_major__ < 15)
template <typename U>
using CoroutineHandle = std::experimental::coroutine_handle<U>;
using CoroutineHandleVoid = std::experimental::coroutine_handle<void>;
Expand Down

0 comments on commit b77eed3

Please sign in to comment.