mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
VideoCommon/PixelEngine: Refactor to class, move to Core::System.
This commit is contained in:
parent
82e87cf7b9
commit
ec8aaf1f30
10 changed files with 275 additions and 228 deletions
|
@ -20,6 +20,7 @@
|
|||
#include "Core/HW/VideoInterface.h"
|
||||
#include "VideoCommon/CommandProcessor.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
#include "VideoCommon/PixelEngine.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
|
@ -39,6 +40,7 @@ struct System::Impl
|
|||
Fifo::FifoManager m_fifo;
|
||||
Memory::MemoryManager m_memory;
|
||||
MemoryInterface::MemoryInterfaceState m_memory_interface_state;
|
||||
PixelEngine::PixelEngineManager m_pixel_engine;
|
||||
SerialInterface::SerialInterfaceState m_serial_interface_state;
|
||||
Sram m_sram;
|
||||
VideoInterface::VideoInterfaceState m_video_interface_state;
|
||||
|
@ -137,6 +139,11 @@ MemoryInterface::MemoryInterfaceState& System::GetMemoryInterfaceState() const
|
|||
return m_impl->m_memory_interface_state;
|
||||
}
|
||||
|
||||
PixelEngine::PixelEngineManager& System::GetPixelEngine() const
|
||||
{
|
||||
return m_impl->m_pixel_engine;
|
||||
}
|
||||
|
||||
SerialInterface::SerialInterfaceState& System::GetSerialInterfaceState() const
|
||||
{
|
||||
return m_impl->m_serial_interface_state;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue