add 11.17 blacklist for K/C/T
This commit is contained in:
parent
fb5ac3b3ae
commit
c6df8a43dd
1 changed files with 6 additions and 0 deletions
|
@ -25,11 +25,17 @@ const major_minor_map = {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate version
|
// Validate version
|
||||||
|
// CHN/TWN doesn't have new model
|
||||||
|
// KOR/CHN/TWN doesn't have 11.17 currently
|
||||||
function validate_version(major, minor, native, region, model) {
|
function validate_version(major, minor, native, region, model) {
|
||||||
if (model == DEVICE_N3DS && ["C", "T"].includes(region)) {
|
if (model == DEVICE_N3DS && ["C", "T"].includes(region)) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (major == 11 && minor == 17 && ["K", "C", "T"].includes(region)) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
const minor_max = major_minor_map[major];
|
const minor_max = major_minor_map[major];
|
||||||
if (!isNaN(minor_max) && minor > minor_max) {
|
if (!isNaN(minor_max) && minor > minor_max) {
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Reference in a new issue