mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-05-09 12:02:39 -04:00
HW: Move DVDInterface variables to Core::System.
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
|
||||
#include "AudioCommon/SoundStream.h"
|
||||
#include "Core/Config/MainSettings.h"
|
||||
#include "Core/HW/DVD/DVDInterface.h"
|
||||
#include "Core/HW/DVD/DVDThread.h"
|
||||
|
||||
namespace Core
|
||||
@@ -17,6 +18,7 @@ struct System::Impl
|
||||
bool m_sound_stream_running = false;
|
||||
bool m_audio_dump_started = false;
|
||||
|
||||
DVDInterface::DVDInterfaceState m_dvd_interface_state;
|
||||
DVDThread::DVDThreadState m_dvd_thread_state;
|
||||
};
|
||||
|
||||
@@ -62,6 +64,11 @@ void System::SetAudioDumpStarted(bool started)
|
||||
m_impl->m_audio_dump_started = started;
|
||||
}
|
||||
|
||||
DVDInterface::DVDInterfaceState& System::GetDVDInterfaceState() const
|
||||
{
|
||||
return m_impl->m_dvd_interface_state;
|
||||
}
|
||||
|
||||
DVDThread::DVDThreadState& System::GetDVDThreadState() const
|
||||
{
|
||||
return m_impl->m_dvd_thread_state;
|
||||
|
||||
Reference in New Issue
Block a user