Core: Make EmuThread internally linked

This commit is contained in:
Lioncash
2017-04-03 13:27:35 -04:00
parent ed2e9e9e41
commit ad1a899a7c

View File

@ -91,9 +91,6 @@ static Common::Timer s_timer;
static std::atomic<u32> s_drawn_frame; static std::atomic<u32> s_drawn_frame;
static std::atomic<u32> s_drawn_video; static std::atomic<u32> s_drawn_video;
// Function declarations
void EmuThread();
static bool s_is_stopping = false; static bool s_is_stopping = false;
static bool s_hardware_initialized = false; static bool s_hardware_initialized = false;
static bool s_is_started = false; static bool s_is_started = false;
@ -127,6 +124,8 @@ static void InitIsCPUKey()
} }
#endif #endif
static void EmuThread();
bool GetIsThrottlerTempDisabled() bool GetIsThrottlerTempDisabled()
{ {
return s_is_throttler_temp_disabled; return s_is_throttler_temp_disabled;
@ -448,7 +447,7 @@ static void FifoPlayerThread()
// Initialize and create emulation thread // Initialize and create emulation thread
// Call browser: Init():s_emu_thread(). // Call browser: Init():s_emu_thread().
// See the BootManager.cpp file description for a complete call schedule. // See the BootManager.cpp file description for a complete call schedule.
void EmuThread() static void EmuThread()
{ {
const SConfig& core_parameter = SConfig::GetInstance(); const SConfig& core_parameter = SConfig::GetInstance();
s_is_booting.Set(); s_is_booting.Set();