Update N64 Class.cpp
This commit is contained in:
parent
66f5d4b51d
commit
a3dada4af8
|
@ -375,6 +375,11 @@ void CN64System::StartEmulation(bool NewThread)
|
||||||
|
|
||||||
void CN64System::StartEmulationThread(ThreadInfo * Info)
|
void CN64System::StartEmulationThread(ThreadInfo * Info)
|
||||||
{
|
{
|
||||||
|
if (g_Settings->LoadBool(Setting_CN64TimeCritical))
|
||||||
|
{
|
||||||
|
SetThreadPriority(GetCurrentThread(),THREAD_PRIORITY_TIME_CRITICAL);
|
||||||
|
}
|
||||||
|
|
||||||
CoInitialize(NULL);
|
CoInitialize(NULL);
|
||||||
|
|
||||||
EmulationStarting(*Info->ThreadHandle, Info->ThreadID);
|
EmulationStarting(*Info->ThreadHandle, Info->ThreadID);
|
||||||
|
@ -2030,4 +2035,4 @@ void CN64System::TLB_Changed()
|
||||||
{
|
{
|
||||||
g_Debugger->TLBChanged();
|
g_Debugger->TLBChanged();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue