mirror of
https://github.com/revanced/revanced-patches
synced 2024-12-11 20:17:51 +01:00
fix: exclusive-audio-playback
patch (#153)
This commit is contained in:
parent
d7ef58f66e
commit
9beff9567f
@ -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 New Issue
Block a user