Skip to content

Commit

Permalink
Follow upstream API change in find_offset
Browse files Browse the repository at this point in the history
This was changed from an u32 to an u64 in Physis.
  • Loading branch information
redstrate committed Jun 29, 2024
1 parent 853bcde commit dc0070c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gamedata.rs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ pub extern "C" fn physis_gamedata_extract_file(
pub extern "C" fn physis_gamedata_find_offset(
game_data: &mut GameData,
path: *const c_char,
) -> u32 {
) -> u64 {
unsafe {
if let Some(d) = game_data.find_offset(CStr::from_ptr(path).to_string_lossy().as_ref()) {
d
Expand Down

0 comments on commit dc0070c

Please sign in to comment.