mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Core: Make EmuThread internally linked
This commit is contained in:
@ -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();
|
||||||
|
Reference in New Issue
Block a user