CoreTiming: Avoid ppcState global.

This commit is contained in:
Admiral H. Curtiss 2023-01-10 04:47:34 +01:00
commit 41ad0490f0
No known key found for this signature in database
GPG key ID: F051B4C4044F33FB
3 changed files with 28 additions and 14 deletions

View file

@ -33,7 +33,10 @@ namespace Core
{
struct System::Impl
{
explicit Impl(System& system) : m_gp_fifo(system), m_ppc_state(PowerPC::ppcState) {}
explicit Impl(System& system)
: m_core_timing(system), m_gp_fifo(system), m_ppc_state(PowerPC::ppcState)
{
}
std::unique_ptr<SoundStream> m_sound_stream;
bool m_sound_stream_running = false;