mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
HW/EXI: Refactor ExpansionInterface to class.
This commit is contained in:
parent
e4df388128
commit
bf95d4012f
13 changed files with 137 additions and 146 deletions
|
@ -37,7 +37,8 @@ struct System::Impl
|
|||
{
|
||||
explicit Impl(System& system)
|
||||
: m_audio_interface(system), m_core_timing(system), m_dsp(system), m_dvd_interface(system),
|
||||
m_dvd_thread(system), m_gp_fifo(system), m_ppc_state(PowerPC::ppcState)
|
||||
m_dvd_thread(system), m_expansion_interface(system), m_gp_fifo(system),
|
||||
m_ppc_state(PowerPC::ppcState)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -52,7 +53,7 @@ struct System::Impl
|
|||
DSP::DSPManager m_dsp;
|
||||
DVD::DVDInterface m_dvd_interface;
|
||||
DVD::DVDThread m_dvd_thread;
|
||||
ExpansionInterface::ExpansionInterfaceState m_expansion_interface_state;
|
||||
ExpansionInterface::ExpansionInterfaceManager m_expansion_interface;
|
||||
Fifo::FifoManager m_fifo;
|
||||
GeometryShaderManager m_geometry_shader_manager;
|
||||
GPFifo::GPFifoManager m_gp_fifo;
|
||||
|
@ -148,9 +149,9 @@ DVD::DVDThread& System::GetDVDThread() const
|
|||
return m_impl->m_dvd_thread;
|
||||
}
|
||||
|
||||
ExpansionInterface::ExpansionInterfaceState& System::GetExpansionInterfaceState() const
|
||||
ExpansionInterface::ExpansionInterfaceManager& System::GetExpansionInterface() const
|
||||
{
|
||||
return m_impl->m_expansion_interface_state;
|
||||
return m_impl->m_expansion_interface;
|
||||
}
|
||||
|
||||
Fifo::FifoManager& System::GetFifo() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue