From ad1a899a7c8da07d61818060b0a6fe9023d77446 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Mon, 3 Apr 2017 13:27:35 -0400 Subject: [PATCH] Core: Make EmuThread internally linked --- Source/Core/Core/Core.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/Source/Core/Core/Core.cpp b/Source/Core/Core/Core.cpp index 99411aeb4d..93f4f19412 100644 --- a/Source/Core/Core/Core.cpp +++ b/Source/Core/Core/Core.cpp @@ -91,9 +91,6 @@ static Common::Timer s_timer; static std::atomic s_drawn_frame; static std::atomic s_drawn_video; -// Function declarations -void EmuThread(); - static bool s_is_stopping = false; static bool s_hardware_initialized = false; static bool s_is_started = false; @@ -127,6 +124,8 @@ static void InitIsCPUKey() } #endif +static void EmuThread(); + bool GetIsThrottlerTempDisabled() { return s_is_throttler_temp_disabled; @@ -448,7 +447,7 @@ static void FifoPlayerThread() // Initialize and create emulation thread // Call browser: Init():s_emu_thread(). // See the BootManager.cpp file description for a complete call schedule. -void EmuThread() +static void EmuThread() { const SConfig& core_parameter = SConfig::GetInstance(); s_is_booting.Set();