mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-10-09 17:49:06 +00:00
HW: Move DSP variables to Core::System.
This commit is contained in:
parent
c84835c53c
commit
95cace837a
4 changed files with 278 additions and 187 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "AudioCommon/SoundStream.h"
|
||||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/HW/AudioInterface.h"
|
||||
#include "Core/HW/DSP.h"
|
||||
#include "Core/HW/DVD/DVDInterface.h"
|
||||
#include "Core/HW/DVD/DVDThread.h"
|
||||
#include "Core/HW/Sram.h"
|
||||
|
@ -21,6 +22,7 @@ struct System::Impl
|
|||
bool m_audio_dump_started = false;
|
||||
|
||||
AudioInterface::AudioInterfaceState m_audio_interface_state;
|
||||
DSP::DSPState m_dsp_state;
|
||||
DVDInterface::DVDInterfaceState m_dvd_interface_state;
|
||||
DVDThread::DVDThreadState m_dvd_thread_state;
|
||||
Sram m_sram;
|
||||
|
@ -74,6 +76,11 @@ AudioInterface::AudioInterfaceState& System::GetAudioInterfaceState() const
|
|||
return m_impl->m_audio_interface_state;
|
||||
}
|
||||
|
||||
DSP::DSPState& System::GetDSPState() const
|
||||
{
|
||||
return m_impl->m_dsp_state;
|
||||
}
|
||||
|
||||
DVDInterface::DVDInterfaceState& System::GetDVDInterfaceState() const
|
||||
{
|
||||
return m_impl->m_dvd_interface_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue