mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Homonyms, how do they work?
This commit is contained in:
parent
8216ed3939
commit
02e4db6752
1 changed files with 3 additions and 3 deletions
|
|
@ -22,12 +22,12 @@ class MakiFile {
|
|||
}
|
||||
|
||||
readUInt32LE() {
|
||||
const int = this.peakUInt32LE();
|
||||
const int = this.peekUInt32LE();
|
||||
this._i += 4;
|
||||
return int;
|
||||
}
|
||||
|
||||
peakUInt32LE() {
|
||||
peekUInt32LE() {
|
||||
const int = this._buffer.readUInt32LE(this._i);
|
||||
const arrInt = this.__readUInt32LE__arr();
|
||||
if (int !== arrInt) {
|
||||
|
|
@ -332,7 +332,7 @@ function parseComand({ makiFile, length, pos, localFunctions }) {
|
|||
if (
|
||||
// Is there another UInt32 to read?
|
||||
length > pos + 5 + 4 &&
|
||||
makiFile.peakUInt32LE() >= 0xffff0000
|
||||
makiFile.peekUInt32LE() >= 0xffff0000
|
||||
) {
|
||||
makiFile.readUInt32LE();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue