mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 21:58:48 +00:00
Core: Move Emulation IOS instance to System.
This commit is contained in:
parent
ca81d8b8a6
commit
e6ee217a7c
21 changed files with 65 additions and 51 deletions
|
@ -61,6 +61,8 @@ struct System::Impl
|
|||
bool m_sound_stream_running = false;
|
||||
bool m_audio_dump_started = false;
|
||||
|
||||
std::unique_ptr<IOS::HLE::EmulationKernel> m_ios;
|
||||
|
||||
AudioInterface::AudioInterfaceManager m_audio_interface;
|
||||
CoreTiming::CoreTimingManager m_core_timing;
|
||||
CommandProcessor::CommandProcessorManager m_command_processor;
|
||||
|
@ -140,6 +142,16 @@ void System::SetAudioDumpStarted(bool started)
|
|||
m_impl->m_audio_dump_started = started;
|
||||
}
|
||||
|
||||
IOS::HLE::EmulationKernel* System::GetIOS() const
|
||||
{
|
||||
return m_impl->m_ios.get();
|
||||
}
|
||||
|
||||
void System::SetIOS(std::unique_ptr<IOS::HLE::EmulationKernel> ios)
|
||||
{
|
||||
m_impl->m_ios = std::move(ios);
|
||||
}
|
||||
|
||||
AudioInterface::AudioInterfaceManager& System::GetAudioInterface() const
|
||||
{
|
||||
return m_impl->m_audio_interface;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue