mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-01 02:21:26 +02: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:
parent
f9d8d06037
commit
e1f41bab1c
@ -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;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user