Skip to content

Commit 5f9fce9

Browse files
authored
13.0.4 Support (#623)
1 parent 65e9f49 commit 5f9fce9

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/lib.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -433,8 +433,8 @@ pub fn main() {
433433
);
434434
}));
435435

436-
if utils::env::get_game_version() != semver::Version::new(13, 0, 3) {
437-
skyline::error::show_error(69, "Smash Ultimate requires an update.\0", "ARCropolis cannot currently run on a Smash version other than 13.0.3\n\nConsider updating your game or uninstalling ARCropolis.\0");
436+
if utils::env::get_game_version() != semver::Version::new(13, 0, 4) {
437+
skyline::error::show_error(69, "Smash Ultimate requires an update.\0", "ARCropolis cannot currently run on a Smash version other than 13.0.4\n\nConsider updating your game or uninstalling ARCropolis.\0");
438438
// Do not perform any of the hook installation and let the game proceed as normal.
439439
return;
440440
}

src/lua/lua.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,13 @@ fn lua_getfield(lua_state: &mut lua_state, lua_registry: *const TValue, name: *c
2727
#[from_offset(offsets::lua_setmetatable())]
2828
fn lua_setmetatable(lua_state: &mut lua_state, obj_idx: i32);
2929

30-
#[from_offset(0x38f68d0)]
30+
#[from_offset(0x38f6cb0)]
3131
fn lua_tonumberx(lua_state: &mut lua_state, idx: i32, unk: *const u64) -> f32;
3232

33-
#[from_offset(0x38f3c20)]
33+
#[from_offset(0x38f4000)]
3434
fn lua_tointegerx(lua_state: &mut lua_state, idx: i32, unk: *const u64) -> u64;
3535

36-
#[from_offset(0x38f3da0)]
36+
#[from_offset(0x38f4180)]
3737
fn lua_tolstring(lua_state: &mut lua_state, idx: i32, unk: *const u64) -> *const u8;
3838

3939
#[from_offset(offsets::declare_namespace())]

0 commit comments

Comments
 (0)