Skip to content

Commit 10a1478

Browse files
committed
In this case, it makes no sense. Resetting to default values and later will be reinstalled by calling _initialize_cpu.
1 parent e919282 commit 10a1478

File tree

1 file changed

+3
-13
lines changed

1 file changed

+3
-13
lines changed

src/xrCore/xrCore.cpp

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -212,22 +212,12 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD ul_reason_for_call, LPVOID lpvRese
212212
{
213213
switch (ul_reason_for_call)
214214
{
215-
case DLL_PROCESS_ATTACH:
216-
{
217-
_clear87();
218-
_control87(_PC_53, MCW_PC);
219-
_control87(_RC_CHOP, MCW_RC);
220-
_control87(_RC_NEAR, MCW_RC);
221-
_control87(_MCW_EM, MCW_EM);
222-
}
223-
//. LogFile.reserve (256);
224-
break;
215+
case DLL_PROCESS_ATTACH: break;
225216
case DLL_THREAD_ATTACH:
226217
timeBeginPeriod(1);
227218
break;
228-
case DLL_THREAD_DETACH: break;
229-
case DLL_PROCESS_DETACH:
230-
break;
219+
case DLL_THREAD_DETACH: break;
220+
case DLL_PROCESS_DETACH: break;
231221
}
232222
return TRUE;
233223
}

0 commit comments

Comments
 (0)