Skip to content

Commit

Permalink
In this case, it makes no sense. Resetting to default values and late…
Browse files Browse the repository at this point in the history
…r will be reinstalled by calling _initialize_cpu.
  • Loading branch information
intorr committed Mar 17, 2018
1 parent e919282 commit 10a1478
Showing 1 changed file with 3 additions and 13 deletions.
16 changes: 3 additions & 13 deletions src/xrCore/xrCore.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -212,22 +212,12 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD ul_reason_for_call, LPVOID lpvRese
{
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
{
_clear87();
_control87(_PC_53, MCW_PC);
_control87(_RC_CHOP, MCW_RC);
_control87(_RC_NEAR, MCW_RC);
_control87(_MCW_EM, MCW_EM);
}
//. LogFile.reserve (256);
break;
case DLL_PROCESS_ATTACH: break;
case DLL_THREAD_ATTACH:
timeBeginPeriod(1);
break;
case DLL_THREAD_DETACH: break;
case DLL_PROCESS_DETACH:
break;
case DLL_THREAD_DETACH: break;
case DLL_PROCESS_DETACH: break;
}
return TRUE;
}

0 comments on commit 10a1478

Please sign in to comment.