mirror of
https://git.recroomarchive.org/Radium/libradhook.git
synced 2026-08-07 09:10:59 +00:00
fix: add support for "E9 rel32" for shorter method lengths
This commit is contained in:
@@ -13,7 +13,7 @@
|
||||
// versioning
|
||||
#define RADHOOK_VERSION_MAJOR 1
|
||||
#define RADHOOK_VERSION_MINOR 1
|
||||
#define RADHOOK_VERSION_PATCH 0
|
||||
#define RADHOOK_VERSION_PATCH 1
|
||||
|
||||
#if _MSC_VER
|
||||
# include <sal.h> // for source code annotations
|
||||
@@ -41,8 +41,12 @@ enum class RadHookResult : int {
|
||||
InvalidDetour,
|
||||
InvalidHandle,
|
||||
TrampolineTooFar,
|
||||
TargetTooSmall,
|
||||
UnknownTarget,
|
||||
BadDecode,
|
||||
RelativeControlFlow,
|
||||
TooManyRipFixups,
|
||||
ExceedsMaxStolen,
|
||||
InsufficientLength,
|
||||
Unknown,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user