Skip to content

Commit 7ffaba2

Browse files
update libs + bs 1.16.4
1 parent 5a44a37 commit 7ffaba2

3 files changed

Lines changed: 14 additions & 14 deletions

File tree

Android.mk

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,32 +18,32 @@ TARGET_ARCH_ABI := $(APP_ABI)
1818

1919
rwildcard=$(wildcard $1$2) $(foreach d,$(wildcard $1*),$(call rwildcard,$d/,$2))
2020

21-
# Creating prebuilt for dependency: modloader - version: 1.1.0
21+
# Creating prebuilt for dependency: modloader - version: 1.2.3
2222
include $(CLEAR_VARS)
2323
LOCAL_MODULE := modloader
2424
LOCAL_EXPORT_C_INCLUDES := extern/modloader
2525
LOCAL_SRC_FILES := extern/libmodloader.so
2626
include $(PREBUILT_SHARED_LIBRARY)
27-
# Creating prebuilt for dependency: beatsaber-hook - version: 2.0.3
27+
# Creating prebuilt for dependency: beatsaber-hook - version: 2.2.4
2828
include $(CLEAR_VARS)
29-
LOCAL_MODULE := beatsaber-hook_2_0_3
29+
LOCAL_MODULE := beatsaber-hook_2_2_4
3030
LOCAL_EXPORT_C_INCLUDES := extern/beatsaber-hook
31-
LOCAL_SRC_FILES := extern/libbeatsaber-hook_2_0_3.so
31+
LOCAL_SRC_FILES := extern/libbeatsaber-hook_2_2_4.so
3232
LOCAL_CPP_FEATURES += exceptions
3333
include $(PREBUILT_SHARED_LIBRARY)
34-
# Creating prebuilt for dependency: codegen - version: 0.10.2
34+
# Creating prebuilt for dependency: codegen - version: 0.12.5
3535
include $(CLEAR_VARS)
36-
LOCAL_MODULE := codegen_0_10_2
36+
LOCAL_MODULE := codegen_0_12_5
3737
LOCAL_EXPORT_C_INCLUDES := extern/codegen
38-
LOCAL_SRC_FILES := extern/libcodegen_0_10_2.so
38+
LOCAL_SRC_FILES := extern/libcodegen_0_12_5.so
3939
include $(PREBUILT_SHARED_LIBRARY)
40-
# Creating prebuilt for dependency: questui - version: 0.9.0
40+
# Creating prebuilt for dependency: questui - version: 0.10.1
4141
include $(CLEAR_VARS)
4242
LOCAL_MODULE := questui
4343
LOCAL_EXPORT_C_INCLUDES := extern/questui
4444
LOCAL_SRC_FILES := extern/libquestui.so
4545
include $(PREBUILT_SHARED_LIBRARY)
46-
# Creating prebuilt for dependency: custom-types - version: 0.12.3
46+
# Creating prebuilt for dependency: custom-types - version: 0.12.5
4747
include $(CLEAR_VARS)
4848
LOCAL_MODULE := custom-types
4949
LOCAL_EXPORT_C_INCLUDES := extern/custom-types
@@ -56,8 +56,8 @@ LOCAL_SRC_FILES += $(call rwildcard,src/,*.cpp)
5656
LOCAL_SRC_FILES += $(call rwildcard,extern/beatsaber-hook/src/inline-hook,*.cpp)
5757
LOCAL_SRC_FILES += $(call rwildcard,extern/beatsaber-hook/src/inline-hook,*.c)
5858
LOCAL_SHARED_LIBRARIES += modloader
59-
LOCAL_SHARED_LIBRARIES += beatsaber-hook_2_0_3
60-
LOCAL_SHARED_LIBRARIES += codegen_0_10_2
59+
LOCAL_SHARED_LIBRARIES += beatsaber-hook_2_2_4
60+
LOCAL_SHARED_LIBRARIES += codegen_0_12_5
6161
LOCAL_SHARED_LIBRARIES += questui
6262
LOCAL_SHARED_LIBRARIES += custom-types
6363
LOCAL_LDLIBS += -llog

mod.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"version": "0.2.0",
66
"author": "ComputerElite",
77
"packageId": "com.beatgames.beatsaber",
8-
"packageVersion": "1.16.2",
8+
"packageVersion": "1.16.4",
99
"modFiles": [
1010
"libCrashMod.so"
1111
],

src/main.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ MAKE_HOOK_MATCH(ScoreController_HandleNoteWasMissed, &ScoreController::HandleNot
6262
if(getModConfig().Active.GetValue() && getModConfig().MissCrash.GetValue()) Crash();
6363
}
6464

65-
MAKE_HOOK_MATCH(ScoreController_HandleNoteWasCut, &ScoreController::HandleNoteWasCut, void, ScoreController* self, NoteController* note, NoteCutInfo& info) {
65+
MAKE_HOOK_MATCH(ScoreController_HandleNoteWasCut, &ScoreController::HandleNoteWasCut, void, ScoreController* self, NoteController* note, ByRef<GlobalNamespace::NoteCutInfo> info) {
6666
ScoreController_HandleNoteWasCut(self, note, info);
67-
if(getModConfig().Active.GetValue() && info.get_allIsOK() && getModConfig().CrashOnGoodCut.GetValue()) Crash();
67+
if(getModConfig().Active.GetValue() && info.heldRef.get_allIsOK() && getModConfig().CrashOnGoodCut.GetValue()) Crash();
6868
}
6969

7070
MAKE_HOOK_MATCH(RelativeScoreAndImmediateRankCounter_UpdateRelativeScoreAndImmediateRank, &RelativeScoreAndImmediateRankCounter::UpdateRelativeScoreAndImmediateRank, void, RelativeScoreAndImmediateRankCounter* self, int score, int modifiedscore, int maxscore, int maxmodfifiedscore) {

0 commit comments

Comments
 (0)