fix(YouTube/Enable new splash animation): integrations sometimes return invalid values

This commit is contained in:
inotia00 2023-10-13 01:38:51 +09:00
parent 5e8e9c621b
commit 33b4f7b63a

View File

@ -131,7 +131,7 @@ object NewSplashAnimationPatch : BytecodePatch(
addInstructions( addInstructions(
index, """ index, """
invoke-static {}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationBoolean()Z invoke-static {v$register}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationBoolean(Z)Z
move-result v$register move-result v$register
""" """
) )
@ -142,7 +142,7 @@ object NewSplashAnimationPatch : BytecodePatch(
addInstructions( addInstructions(
index, """ index, """
invoke-static {}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationInt()I invoke-static {v$register}, $MISC_PATH/SplashAnimationPatch;->enableNewSplashAnimationInt(I)I
move-result v$register move-result v$register
""" """
) )