win-capture: Disable cached offsets writing

We don't read cached offsets any more, so it makes little sense to write
them on every startup.
This commit is contained in:
Richard Stanway
2018-12-07 23:01:23 +01:00
parent f48b210d61
commit 7a32f12d9c
2 changed files with 5 additions and 0 deletions

View File

@@ -29,6 +29,8 @@ extern bool load_graphics_offsets(bool is32bit, const char *config_path);
#define IS32BIT true
#endif
/* note, need to enable cache writing in load-graphics-offsets.c if you turn
* this back on*/
#define USE_HOOK_ADDRESS_CACHE false
static DWORD WINAPI init_hooks(LPVOID param)