Skip to content

Commit

Permalink
add 11.17 blacklist for K/C/T
Browse files Browse the repository at this point in the history
  • Loading branch information
danny8376 committed Jul 14, 2023
1 parent 9d20702 commit 17326fe
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions assets/js/selecting.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,17 @@ const major_minor_map = {
}

// 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) {
if (model == DEVICE_N3DS && ["C", "T"].includes(region)) {
return false;
}

if (major == 11 && minor == 17 && ["K", "C", "T"].includes(region)) {
return false;
}

const minor_max = major_minor_map[major];
if (!isNaN(minor_max) && minor > minor_max) {
return false;
Expand Down

0 comments on commit 17326fe

Please sign in to comment.