mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 14:49:42 -06:00
DSP: Make mailboxes use std::array
Makes the array strongly typed and prevents pointer decay. This also allows for tuning bounds checks with various implementations.
This commit is contained in:
@ -455,7 +455,7 @@ private:
|
||||
|
||||
u16 ReadIFXImpl(u16 address);
|
||||
|
||||
std::atomic<u32> m_mailbox[2];
|
||||
std::array<std::atomic<u32>, 2> m_mailbox;
|
||||
DSPCore& m_dsp_core;
|
||||
Analyzer m_analyzer;
|
||||
};
|
||||
|
Reference in New Issue
Block a user