Update N64 Class.cpp

This commit is contained in:
Frank-74 2015-11-14 02:54:14 +00:00
parent 66f5d4b51d
commit a3dada4af8
1 changed files with 6 additions and 1 deletions

View File

@ -375,6 +375,11 @@ void CN64System::StartEmulation(bool NewThread)
void CN64System::StartEmulationThread(ThreadInfo * Info)
{
if (g_Settings->LoadBool(Setting_CN64TimeCritical))
{
SetThreadPriority(GetCurrentThread(),THREAD_PRIORITY_TIME_CRITICAL);
}
CoInitialize(NULL);
EmulationStarting(*Info->ThreadHandle, Info->ThreadID);
@ -2030,4 +2035,4 @@ void CN64System::TLB_Changed()
{
g_Debugger->TLBChanged();
}
}
}