mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2024-11-23 09:29:51 +00:00
add 11.17 blacklist for K/C/T
This commit is contained in:
parent
fb5ac3b3ae
commit
c6df8a43dd
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user