mirror of
https://github.com/Lime3DS/Lime3DS.git
synced 2024-11-24 02:29:20 +01:00
fixup! audio_core: Remove global state
This commit is contained in:
parent
7c7fddd7bd
commit
adf9a19095
@ -63,6 +63,8 @@ private:
|
||||
};
|
||||
|
||||
DspHle::Impl::Impl(DspHle& parent_) : parent(parent_) {
|
||||
dsp_memory.raw_memory.fill(0);
|
||||
|
||||
tick_event =
|
||||
CoreTiming::RegisterEvent("AudioCore::DspHle::tick_event", [this](u64, int cycles_late) {
|
||||
this->AudioTickCallback(cycles_late);
|
||||
|
@ -510,7 +510,7 @@ struct SharedMemory {
|
||||
ASSERT_DSP_STRUCT(SharedMemory, 0x8000);
|
||||
|
||||
union DspMemory {
|
||||
std::array<u8, 0x80000> raw_memory;
|
||||
std::array<u8, 0x80000> raw_memory{};
|
||||
struct {
|
||||
u8 unused_0[0x50000];
|
||||
SharedMemory region_0;
|
||||
|
Loading…
Reference in New Issue
Block a user