mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 12:48:57 +00:00
VideoCommon/CommandProcessor: Refactor to class, move to Core::System.
This commit is contained in:
parent
44f8b8c100
commit
6941d2e7e6
11 changed files with 271 additions and 198 deletions
|
@ -17,6 +17,7 @@
|
|||
#include "Core/HW/SI/SI.h"
|
||||
#include "Core/HW/Sram.h"
|
||||
#include "Core/HW/VideoInterface.h"
|
||||
#include "VideoCommon/CommandProcessor.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
|
@ -28,6 +29,7 @@ struct System::Impl
|
|||
|
||||
AudioInterface::AudioInterfaceState m_audio_interface_state;
|
||||
CoreTiming::CoreTimingManager m_core_timing;
|
||||
CommandProcessor::CommandProcessorManager m_command_processor;
|
||||
DSP::DSPState m_dsp_state;
|
||||
DVDInterface::DVDInterfaceState m_dvd_interface_state;
|
||||
DVDThread::DVDThreadState m_dvd_thread_state;
|
||||
|
@ -91,6 +93,11 @@ CoreTiming::CoreTimingManager& System::GetCoreTiming() const
|
|||
return m_impl->m_core_timing;
|
||||
}
|
||||
|
||||
CommandProcessor::CommandProcessorManager& System::GetCommandProcessor() const
|
||||
{
|
||||
return m_impl->m_command_processor;
|
||||
}
|
||||
|
||||
DSP::DSPState& System::GetDSPState() const
|
||||
{
|
||||
return m_impl->m_dsp_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue