HW/MemoryInterface: Refactor to class.

This commit is contained in:
Admiral H. Curtiss 2023-03-10 21:27:35 +01:00
commit 84542d915d
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
6 changed files with 135 additions and 144 deletions

View file

@ -60,7 +60,7 @@ struct System::Impl
HSP::HSPManager m_hsp;
IOS::HLE::USB::SkylanderPortal m_skylander_portal;
Memory::MemoryManager m_memory;
MemoryInterface::MemoryInterfaceState m_memory_interface_state;
MemoryInterface::MemoryInterfaceManager m_memory_interface;
PixelEngine::PixelEngineManager m_pixel_engine;
PixelShaderManager m_pixel_shader_manager;
PowerPC::PowerPCState& m_ppc_state;
@ -184,9 +184,9 @@ Memory::MemoryManager& System::GetMemory() const
return m_impl->m_memory;
}
MemoryInterface::MemoryInterfaceState& System::GetMemoryInterfaceState() const
MemoryInterface::MemoryInterfaceManager& System::GetMemoryInterface() const
{
return m_impl->m_memory_interface_state;
return m_impl->m_memory_interface;
}
PixelEngine::PixelEngineManager& System::GetPixelEngine() const