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:
parent
62ecfc5cdd
commit
9f8304fa5d
@ -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(){
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user