add temporary registry keys
This commit is contained in:
parent
dfca31fab9
commit
79b8b4d083
5 changed files with 79 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
#include "debug.h"
|
||||
#include "config.h"
|
||||
#include "hook.h"
|
||||
#include "indeo.h"
|
||||
#include "versionhelpers.h"
|
||||
|
||||
|
||||
|
@ -120,6 +121,7 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
|
|||
set_aware();
|
||||
}
|
||||
|
||||
indeo_enable();
|
||||
timeBeginPeriod(1);
|
||||
hook_init();
|
||||
break;
|
||||
|
@ -133,6 +135,7 @@ BOOL WINAPI DllMain(HANDLE hDll, DWORD dwReason, LPVOID lpReserved)
|
|||
|
||||
cfg_save();
|
||||
|
||||
indeo_disable();
|
||||
timeEndPeriod(1);
|
||||
dinput_hook_exit();
|
||||
hook_exit();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue