diff --git a/Cargo.lock b/Cargo.lock index aa2dfc3..17d418a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -387,7 +387,7 @@ checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" [[package]] name = "patchy-code" version = "0.2.0" -source = "git+https://github.com/logdot/patchy-rs.git?rev=64d2eac7b33f81c4a60f18ae834d9daba96b92cf#64d2eac7b33f81c4a60f18ae834d9daba96b92cf" +source = "git+https://github.com/logdot/patchy-rs.git?rev=84993c490f7db47e915d7e0b4270eb3f36f614de#84993c490f7db47e915d7e0b4270eb3f36f614de" dependencies = [ "thiserror 1.0.69", ] @@ -395,7 +395,7 @@ dependencies = [ [[package]] name = "patchy-rs" version = "0.2.0" -source = "git+https://github.com/logdot/patchy-rs.git?rev=64d2eac7b33f81c4a60f18ae834d9daba96b92cf#64d2eac7b33f81c4a60f18ae834d9daba96b92cf" +source = "git+https://github.com/logdot/patchy-rs.git?rev=84993c490f7db47e915d7e0b4270eb3f36f614de#84993c490f7db47e915d7e0b4270eb3f36f614de" dependencies = [ "log", "mmap-rs", diff --git a/Cargo.toml b/Cargo.toml index 0571925..a46acee 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ libc = "0.2.149" libloading = "0.8" log = "0.4.*" highfleet-mod-api = { path = "crates/highfleet-mod-api" } -patchy = { package = "patchy-rs", git = "https://github.com/logdot/patchy-rs.git", rev = "64d2eac7b33f81c4a60f18ae834d9daba96b92cf" } +patchy = { package = "patchy-rs", git = "https://github.com/logdot/patchy-rs.git", rev = "84993c490f7db47e915d7e0b4270eb3f36f614de" } serde = { version = "1.0", features = ["derive"] } serde_json = "1.0" sha2 = "0.10.*" diff --git a/crates/highfleet-patchy-client/Cargo.toml b/crates/highfleet-patchy-client/Cargo.toml index d70003f..224fcd4 100644 --- a/crates/highfleet-patchy-client/Cargo.toml +++ b/crates/highfleet-patchy-client/Cargo.toml @@ -6,7 +6,7 @@ publish = false [dependencies] highfleet-mod-api = { path = "../highfleet-mod-api" } -patchy-code = { git = "https://github.com/logdot/patchy-rs.git", rev = "64d2eac7b33f81c4a60f18ae834d9daba96b92cf" } +patchy-code = { git = "https://github.com/logdot/patchy-rs.git", rev = "84993c490f7db47e915d7e0b4270eb3f36f614de" } thiserror = "2" [target.'cfg(windows)'.dependencies] diff --git a/crates/highfleet-patchy-client/src/lib.rs b/crates/highfleet-patchy-client/src/lib.rs index 5b581cc..38e1585 100644 --- a/crates/highfleet-patchy-client/src/lib.rs +++ b/crates/highfleet-patchy-client/src/lib.rs @@ -11,8 +11,7 @@ use highfleet_mod_api::patching::{ HFM_PATCH_OVERLAP, HFM_PATCH_SOURCE_CHANGED, }; pub use patchy_code::{ - CallBridge, Condition, DetourSite, FlagPolicy, KeepReturn, Label, ReturnType, StackAlignment, - Trampoline, + CallBridge, Condition, DetourSite, FlagPolicy, KeepReturn, Label, StackAlignment, Trampoline, }; use patchy_code::{TrampolineFixup, TrampolinePlan}; use std::{ffi::c_void, mem::size_of, num::NonZeroU64, sync::OnceLock};