@@ -24,6 +24,8 @@ function OpenControls(){ | |||
case NESBank.ACCESSMODE_1K: | |||
ELSel.value = "1K"; break; | |||
break; | |||
case NESBank.ACCESSMODE_1T: | |||
ElSel.value = "1T"; break; | |||
} | |||
if (ELSel.value !== "8K"){ | |||
@@ -68,6 +70,8 @@ function HANDLE_ModeChange(){ | |||
SURF.access_mode = NESBank.ACCESSMODE_2K; break; | |||
case "1K": | |||
SURF.access_mode = NESBank.ACCESSMODE_1K; break; | |||
case "1T": | |||
SURF.access_mode = NESBank.ACCESSMODE_1T; break; | |||
} | |||
if (SURF.access_mode !== NESBank.ACCESSMODE_8K){ | |||
ELLab.classList.remove("hidden"); |
@@ -54,7 +54,7 @@ function RequestDownload(filename, datblob){ | |||
body.appendChild(a); | |||
a.click(); | |||
setTimeout(function(){ // fixes firefox html removal bug | |||
window.URL.revokeObjectURL(url); | |||
window.URL.revokeObjectURL(a.href); | |||
a.remove(); | |||
}, 500); | |||
} |
@@ -6,6 +6,7 @@ | |||
<option value="4K">4K</option> | |||
<option value="2K">2K</option> | |||
<option value="1K">1K</option> | |||
<option value="1T">Tile</option> | |||
</select> | |||
</label> | |||