mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-11-18 11:54:17 +01:00
HW: Move ExpansionInterface variables to Core::System.
This commit is contained in:
4 files changed
+87
-31
No files matched your search
@@ -11,6 +11,7 @@
|
||||
#include "Core/HW/DSP.h"
|
||||
#include "Core/HW/DVD/DVDInterface.h"
|
||||
#include "Core/HW/DVD/DVDThread.h"
|
||||
#include "Core/HW/EXI/EXI.h"
|
||||
#include "Core/HW/Sram.h"
|
||||
#include "Core/HW/VideoInterface.h"
|
||||
|
||||
@@ -26,6 +27,7 @@ struct System::Impl
|
||||
DSP::DSPState m_dsp_state;
|
||||
DVDInterface::DVDInterfaceState m_dvd_interface_state;
|
||||
DVDThread::DVDThreadState m_dvd_thread_state;
|
||||
ExpansionInterface::ExpansionInterfaceState m_expansion_interface_state;
|
||||
Sram m_sram;
|
||||
VideoInterface::VideoInterfaceState m_video_interface_state;
|
||||
};
|
||||
@@ -93,6 +95,11 @@ DVDThread::DVDThreadState& System::GetDVDThreadState() const
|
||||
return m_impl->m_dvd_thread_state;
|
||||
}
|
||||
|
||||
ExpansionInterface::ExpansionInterfaceState& System::GetExpansionInterfaceState() const
|
||||
{
|
||||
return m_impl->m_expansion_interface_state;
|
||||
}
|
||||
|
||||
Sram& System::GetSRAM() const
|
||||
{
|
||||
return m_impl->m_sram;
|
||||
|
||||
Reference in new issue
Block a user