mirror of
https://github.com/dashr9230/SA-MP.git
synced 2026-10-10 11:43:04 +08:00
[saco] Implement UninstallFileSystemHooks()
* Updates `DllMain(...)`
This commit is contained in:
+1
-2
@@ -62,7 +62,6 @@ void LaunchMonitor(PVOID v)
|
||||
|
||||
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
{
|
||||
// TODO: DllMain
|
||||
if(DLL_PROCESS_ATTACH==fdwReason)
|
||||
{
|
||||
hInstance = hinstDLL;
|
||||
@@ -97,7 +96,7 @@ BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
|
||||
else if(DLL_PROCESS_DETACH==fdwReason)
|
||||
{
|
||||
if(tSettings.bDebug || tSettings.bPlayOnline) {
|
||||
//sub_10062D90
|
||||
UninstallFileSystemHooks();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user