Fix warnings.
This commit is contained in:
1 parent
67f7e7e28b
commit
42acd61ccb
2 files changed
+10
-14
No files matched your search
@@ -89,8 +89,6 @@ static bool s_request_refresh_info = false;
|
||||
static int s_pause_and_lock_depth = 0;
|
||||
static bool s_is_framelimiter_temp_disabled = false;
|
||||
|
||||
SCoreStartupParameter g_CoreStartupParameter;
|
||||
|
||||
bool GetIsFramelimiterTempDisabled()
|
||||
{
|
||||
return s_is_framelimiter_temp_disabled;
|
||||
@@ -179,12 +177,10 @@ bool Init()
|
||||
s_emu_thread.join();
|
||||
}
|
||||
|
||||
g_CoreStartupParameter = _CoreParameter;
|
||||
|
||||
INFO_LOG(OSREPORT, "Starting core = %s mode",
|
||||
g_CoreStartupParameter.bWii ? "Wii" : "GameCube");
|
||||
_CoreParameter.bWii ? "Wii" : "GameCube");
|
||||
INFO_LOG(OSREPORT, "CPU Thread separate = %s",
|
||||
g_CoreStartupParameter.bCPUThread ? "Yes" : "No");
|
||||
_CoreParameter.bCPUThread ? "Yes" : "No");
|
||||
|
||||
Host_UpdateMainFrame(); // Disable any menus or buttons at boot
|
||||
|
||||
@@ -353,7 +349,7 @@ void EmuThread()
|
||||
|
||||
Pad::Initialize(s_window_handle);
|
||||
// Load and Init Wiimotes - only if we are booting in wii mode
|
||||
if (g_CoreStartupParameter.bWii)
|
||||
if (_CoreParameter.bWii)
|
||||
{
|
||||
Wiimote::Initialize(s_window_handle, !s_state_filename.empty());
|
||||
|
||||
|
||||
Reference in new issue
Block a user