mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-08 17:18:53 +00:00
FifoRecorder: Move instance to System.
This commit is contained in:
parent
6725c25600
commit
637fd49909
10 changed files with 60 additions and 38 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/CoreTiming.h"
|
||||
#include "Core/FifoPlayer/FifoPlayer.h"
|
||||
#include "Core/FifoPlayer/FifoRecorder.h"
|
||||
#include "Core/HW/AudioInterface.h"
|
||||
#include "Core/HW/CPU.h"
|
||||
#include "Core/HW/DSP.h"
|
||||
|
@ -51,7 +52,7 @@ struct System::Impl
|
|||
m_mmu(system, m_memory, m_power_pc), m_processor_interface(system),
|
||||
m_serial_interface(system), m_system_timers(system), m_video_interface(system),
|
||||
m_interpreter(system, m_power_pc.GetPPCState(), m_mmu), m_jit_interface(system),
|
||||
m_fifo_player(system)
|
||||
m_fifo_player(system), m_fifo_recorder(system)
|
||||
{
|
||||
}
|
||||
|
||||
|
@ -91,6 +92,7 @@ struct System::Impl
|
|||
JitInterface m_jit_interface;
|
||||
VideoCommon::CustomAssetLoader m_custom_asset_loader;
|
||||
FifoPlayer m_fifo_player;
|
||||
FifoRecorder m_fifo_recorder;
|
||||
};
|
||||
|
||||
System::System() : m_impl{std::make_unique<Impl>(*this)}
|
||||
|
@ -186,6 +188,11 @@ FifoPlayer& System::GetFifoPlayer() const
|
|||
return m_impl->m_fifo_player;
|
||||
}
|
||||
|
||||
FifoRecorder& System::GetFifoRecorder() const
|
||||
{
|
||||
return m_impl->m_fifo_recorder;
|
||||
}
|
||||
|
||||
GeometryShaderManager& System::GetGeometryShaderManager() const
|
||||
{
|
||||
return m_impl->m_geometry_shader_manager;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue