get-started: N3DS CHN/TWN do not exist, sanity check this

This commit is contained in:
lifehackerhansol 2023-06-12 02:43:16 -07:00
parent 81870cfe33
commit 0750fb7936
No known key found for this signature in database
GPG key ID: 80FB184AFC0B3B0E

View file

@ -243,6 +243,11 @@ function redirect() {
if(isO3DS) model = DEVICE_O3DS
else if(isN3DS) model = DEVICE_N3DS;
if (model == DEVICE_N3DS && ["C", "T"].includes(region.value)) {
document.getElementById("result_invalidVersion").style.display = "block";
return;
}
let redirected = [
can_soundhax,
can_ssloth,