refactor: prepare for settings patch (#168)

This commit is contained in:
TheJeterLP
2022-07-14 18:42:22 +02:00
committed by GitHub
parent 93b66c7163
commit cc3ce9aaad
3 changed files with 7 additions and 6 deletions

View File

@ -56,7 +56,7 @@ class CustomPlaybackSpeedPatch : BytecodePatch(
val arrayLengthConstDestination = (arrayLengthConst as OneRegisterInstruction).registerA
val videoSpeedsArrayType = "Lapp/revanced/integrations/videoplayer/videosettings/VideoSpeed;->videoSpeeds:[F"
val videoSpeedsArrayType = "Lapp/revanced/integrations/patches/VideoSpeedPatch;->videoSpeeds:[F"
arrayGenMethod.addInstructions(
arrayLengthConstIndex + 1,