mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 20:20:12 +02:00
Fix Preconditions.check3rcRegisterCount
This commit is contained in:
parent
e2f2c89ddc
commit
d62490d669
@ -136,7 +136,7 @@ public class Preconditions {
|
||||
}
|
||||
|
||||
public static int check3rcRegisterCount(int registerCount) {
|
||||
if ((registerCount & 0xFFFFFF00) == 0) {
|
||||
if ((registerCount & 0xFFFFFF00) != 0) {
|
||||
throw new IllegalArgumentException(
|
||||
String.format("Invalid register count: %d. Must be between 0 and 255, inclusive.", registerCount));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user