Skip to content

Commit

Permalink
Add missing visibility
Browse files Browse the repository at this point in the history
  • Loading branch information
SonnyX authored Nov 22, 2023
1 parent 42e07ec commit 242f0d8
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/udk_offsets.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,17 +3,17 @@
// Logging offsets.
/// Offset from the beginning of UDK64.exe to the debug log object.
#[cfg(target_arch = "x86_64")]
const DEBUG_LOG_OFFSET: usize = 0x0355_1720;
pub const DEBUG_LOG_OFFSET: usize = 0x0355_1720;
/// Address of UDK's log function.
#[cfg(target_arch = "x86_64")]
const DEBUG_FN_OFFSET: usize = 0x0024_6A20;
pub const DEBUG_FN_OFFSET: usize = 0x0024_6A20;

/// Offset from the beginning of UDK64.exe to the debug log object.
#[cfg(target_arch = "x86")]
const DEBUG_LOG_OFFSET: usize = 0x029a_31a8;
pub const DEBUG_LOG_OFFSET: usize = 0x029a_31a8;
/// Address of UDK's log function.
#[cfg(target_arch = "x86")]
const DEBUG_FN_OFFSET: usize = 0x0002_1c500;
pub const DEBUG_FN_OFFSET: usize = 0x0002_1c500;

// XAudio2 offsets.
// pub const UDK_INITHW_OFFSET: usize = 0x0171_1ED0;
Expand Down

0 comments on commit 242f0d8

Please sign in to comment.