mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-28 19:58:53 +00:00
HW/VideoInterface: Refactor to class.
This commit is contained in:
parent
2102e64299
commit
069280ddc6
13 changed files with 450 additions and 463 deletions
|
@ -38,7 +38,7 @@ 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_expansion_interface(system), m_gp_fifo(system),
|
||||
m_ppc_state(PowerPC::ppcState)
|
||||
m_ppc_state(PowerPC::ppcState), m_video_interface(system)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -68,7 +68,7 @@ struct System::Impl
|
|||
SerialInterface::SerialInterfaceState m_serial_interface_state;
|
||||
Sram m_sram;
|
||||
VertexShaderManager m_vertex_shader_manager;
|
||||
VideoInterface::VideoInterfaceState m_video_interface_state;
|
||||
VideoInterface::VideoInterfaceManager m_video_interface;
|
||||
};
|
||||
|
||||
System::System() : m_impl{std::make_unique<Impl>(*this)}
|
||||
|
@ -224,8 +224,8 @@ VertexShaderManager& System::GetVertexShaderManager() const
|
|||
return m_impl->m_vertex_shader_manager;
|
||||
}
|
||||
|
||||
VideoInterface::VideoInterfaceState& System::GetVideoInterfaceState() const
|
||||
VideoInterface::VideoInterfaceManager& System::GetVideoInterface() const
|
||||
{
|
||||
return m_impl->m_video_interface_state;
|
||||
return m_impl->m_video_interface;
|
||||
}
|
||||
} // namespace Core
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue