1
0
mirror of https://github.com/hacks-guide/Guide_3DS.git synced 2025-08-25 17:43:07 +02:00

add 11.17 blacklist for K/C/T

This commit is contained in:
DannyAAM
2023-07-15 05:00:49 +08:00
committed by lifehackerhansol
parent fb5ac3b3ae
commit c6df8a43dd

View File

@@ -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;