mirror of
https://github.com/ReVanced/revanced-patches.git
synced 2024-11-10 09:07:46 +01:00
fix: exclusive-audio-playback
patch (#153)
This commit is contained in:
parent
d7ef58f66e
commit
9beff9567f
1 changed files with 1 additions and 3 deletions
|
@ -26,9 +26,7 @@ class ExclusiveAudioPatch : BytecodePatch(
|
|||
)
|
||||
) {
|
||||
override fun execute(data: BytecodeData): PatchResult {
|
||||
ExclusiveAudioFingerprint.resolve(data, AudioOnlyEnablerFingerprint.result!!.classDef)
|
||||
|
||||
val method = ExclusiveAudioFingerprint.result!!.mutableMethod
|
||||
val method = AudioOnlyEnablerFingerprint.result!!.mutableMethod
|
||||
method.replaceInstruction(method.implementation!!.instructions.count() - 1, "const/4 v0, 0x1")
|
||||
method.addInstruction("return v0")
|
||||
|
||||
|
|
Loading…
Reference in a new issue