0
0
mirror of https://github.com/marcrobledo/savegame-editors.git synced 2025-04-28 09:05:10 +00:00

Removed unused _readU8String

This commit is contained in:
magiczocker10 2024-07-01 20:45:58 +02:00 committed by GitHub
parent 62ecfc5cdd
commit 9f8304fa5d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -80,13 +80,6 @@ SavegameEditor={
{value:255, name:'Default'} {value:255, name:'Default'}
] ]
}, },
_readU8String:function(pos,maxLength){
var cs=new Array(maxLength);
var str='';
for(var i=0;i<maxLength && tempFile.readU8(pos+i*2)!=0;i++)
str+=String.fromCharCode(tempFile.readU8(pos+i*2));
return str
},
_getProfileOffset:function(){ _getProfileOffset:function(){
return this.Constants.PROFILES[Number(getValue('profile-selector')) - 1].offset; return this.Constants.PROFILES[Number(getValue('profile-selector')) - 1].offset;
}, },
@ -311,4 +304,4 @@ SavegameEditor={
/* save function */ /* save function */
save:function(){ save:function(){
} }
} }