correction: it's an EMS memory adapter, not MAX, that's a whole other can of worms

This commit is contained in:
yellows111 2023-10-12 07:54:59 +01:00
parent 06b1de707b
commit 5fff911ba6
2 changed files with 5 additions and 1 deletions

4
.gitignore vendored Normal file
View File

@ -0,0 +1,4 @@
*.ico
*.icn
icon.sys
*.psu

View File

@ -207,7 +207,7 @@ function readEntryBlock(input) {
const permissions = u32le(0); const permissions = u32le(0);
let type; let type;
if (permissions>0xffff) { if (permissions>0xffff) {
throw `Not a EMS Max (PSU) save file (was ${permissions}, expected less than ${0xffff})`; throw `Not a EMS Memory Adapter (PSU) export file (was ${permissions}, expected less than ${0xffff})`;
} }
if((permissions & 0b00100000)>=1){ if((permissions & 0b00100000)>=1){
type = "directory"; type = "directory";