mirror of
https://github.com/revanced/smali.git
synced 2025-05-29 12:20:11 +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) {
|
public static int check3rcRegisterCount(int registerCount) {
|
||||||
if ((registerCount & 0xFFFFFF00) == 0) {
|
if ((registerCount & 0xFFFFFF00) != 0) {
|
||||||
throw new IllegalArgumentException(
|
throw new IllegalArgumentException(
|
||||||
String.format("Invalid register count: %d. Must be between 0 and 255, inclusive.", registerCount));
|
String.format("Invalid register count: %d. Must be between 0 and 255, inclusive.", registerCount));
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user