mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-02 06:08:50 +00:00
VideoCommon/Fifo: Refactor to class, move to Core::System.
This commit is contained in:
parent
d250e69ddf
commit
5624dd6d39
18 changed files with 377 additions and 300 deletions
|
@ -19,6 +19,7 @@
|
|||
#include "Core/HW/Sram.h"
|
||||
#include "Core/HW/VideoInterface.h"
|
||||
#include "VideoCommon/CommandProcessor.h"
|
||||
#include "VideoCommon/Fifo.h"
|
||||
|
||||
namespace Core
|
||||
{
|
||||
|
@ -35,6 +36,7 @@ struct System::Impl
|
|||
DVDInterface::DVDInterfaceState m_dvd_interface_state;
|
||||
DVDThread::DVDThreadState m_dvd_thread_state;
|
||||
ExpansionInterface::ExpansionInterfaceState m_expansion_interface_state;
|
||||
Fifo::FifoManager m_fifo;
|
||||
Memory::MemoryManager m_memory;
|
||||
MemoryInterface::MemoryInterfaceState m_memory_interface_state;
|
||||
SerialInterface::SerialInterfaceState m_serial_interface_state;
|
||||
|
@ -120,6 +122,11 @@ ExpansionInterface::ExpansionInterfaceState& System::GetExpansionInterfaceState(
|
|||
return m_impl->m_expansion_interface_state;
|
||||
}
|
||||
|
||||
Fifo::FifoManager& System::GetFifo() const
|
||||
{
|
||||
return m_impl->m_fifo;
|
||||
}
|
||||
|
||||
Memory::MemoryManager& System::GetMemory() const
|
||||
{
|
||||
return m_impl->m_memory;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue