thirdparty: Fix compat issue with 3rd party detours reading missing/invalid state in our custom minified detours
This commit is contained in:
Vendored
+1
-1
@@ -1157,7 +1157,7 @@ struct DETOUR_REGION
|
||||
};
|
||||
typedef DETOUR_REGION * PDETOUR_REGION;
|
||||
|
||||
static constexpr ULONG DETOUR_REGION_SIGNATURE = 'Rrtd';
|
||||
static constexpr ULONG DETOUR_REGION_SIGNATURE = 'R3IS';
|
||||
static constexpr ULONG DETOUR_REGION_SIZE = 0x10000;
|
||||
static constexpr ULONG DETOUR_TRAMPOLINES_PER_REGION = (DETOUR_REGION_SIZE / sizeof(DETOUR_TRAMPOLINE)) - 1;
|
||||
static PDETOUR_REGION s_pRegions = nullptr; // List of all regions.
|
||||
|
||||
Vendored
+2
-2
@@ -144,8 +144,8 @@
|
||||
// offsets.
|
||||
//
|
||||
|
||||
#pragma data_seg(".detourd")
|
||||
#pragma const_seg(".detourc")
|
||||
#pragma data_seg(".sithirdpartyd")
|
||||
#pragma const_seg(".sithirdpartyc")
|
||||
|
||||
//////////////////////////////////////////////////// X86 and X64 Disassembler.
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user