mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-12 19:37:01 +00:00
Make codebase more CPU-agnostic + MacOS disclaimer (#559)
This commit is contained in:
parent
445b0afa95
commit
2c81d240a5
26 changed files with 416 additions and 272 deletions
|
|
@ -19,7 +19,8 @@ public:
|
|||
{
|
||||
if (!m_lockBool.exchange(true, std::memory_order_acquire))
|
||||
break;
|
||||
while (m_lockBool.load(std::memory_order_relaxed)) _mm_pause();
|
||||
while (m_lockBool.load(std::memory_order_relaxed))
|
||||
_mm_pause();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -36,4 +37,4 @@ public:
|
|||
private:
|
||||
|
||||
mutable std::atomic<bool> m_lockBool = false;
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue