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:
Lioncash 2020-12-29 12:27:54 -05:00
parent f9d8d06037
commit e1f41bab1c

View File

@ -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;
};