mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Core: Make EmuThread internally linked
This commit is contained in:
parent
ed2e9e9e41
commit
ad1a899a7c
1 changed files with 3 additions and 4 deletions
|
@ -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();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue