daily update on 20230730 by nitload youmu, 5th day of params displacement

This commit is contained in:
Nitload
2023-07-30 07:08:36 +08:00
parent e11c88b051
commit 194d65edf6
147 changed files with 36506 additions and 1927 deletions
+17 -2
View File
@@ -1,9 +1,13 @@
// dllmain.cpp : 定义 DLL 应用程序的入口点。
#ifdef _WIN32
#include "framework.h"
#endif // __
#include "StgSharpGraphic.h"
#include "SSGinternal.h"
#ifdef _WIN32
BOOL APIENTRY DllMain(HMODULE hModule,
@@ -14,7 +18,10 @@ BOOL APIENTRY DllMain(HMODULE hModule,
switch (ul_reason_for_call)
{
case DLL_PROCESS_ATTACH:
case DLL_THREAD_ATTACH:
case DLL_THREAD_DETACH:
case DLL_PROCESS_DETACH:
break;
@@ -24,7 +31,14 @@ BOOL APIENTRY DllMain(HMODULE hModule,
#else
attribute((constructor)) void DllMain()
{
m128ptr.m128Ptr0 = 0;
m128ptr.m128Ptr1 = 0;
m128ptr.m128Ptr2 = 0;
m128ptr.m128Ptr3 = 0;
m128ptr.m128Ptr4 = 0;
m128ptr.m128Ptr5 = 0;
m128ptr.m128Ptr6 = 0;
m128ptr.m128Ptr7 = 0;
}
#endif // _WIN32
@@ -32,3 +46,4 @@ attribute((constructor)) void DllMain()