mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-18 14:31:30 +02:00
consoleVersionSelect: add dummy value as first option
This avoids users mindlessly clicking to a potentially invalid page. Also fixes a bug where the version is marked as valid when empty...
This commit is contained in:
@@ -34,6 +34,10 @@ if (!window.COMMON_LOADED) {
|
||||
// CHN/TWN doesn't have new model
|
||||
// KOR/CHN/TWN doesn't have 11.17 currently
|
||||
c("validate_version", (major, minor, native, region, model) => {
|
||||
// These need to actually exist.
|
||||
if(!major || !minor || !native || !region) {
|
||||
return false;
|
||||
}
|
||||
if (model == DEVICE_N3DS && ["C", "T"].includes(region)) {
|
||||
return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user