mirror of
https://github.com/captbaritone/webamp.git
synced 2026-07-22 09:37:17 +00:00
Make it more clear that func and line get the same info
This commit is contained in:
parent
ad4c95d602
commit
b44c825acb
1 changed files with 4 additions and 7 deletions
|
|
@ -233,6 +233,10 @@ function parseComand({ start, makiFile, length, pos }) {
|
|||
arg = makiFile.readUInt32LE();
|
||||
break;
|
||||
}
|
||||
case "func":
|
||||
// Note in the perl code here: "todo, something strange going on here..."
|
||||
arg = makiFile.readUInt32LE() + 5 + pos;
|
||||
break;
|
||||
case "line": {
|
||||
arg = makiFile.readUInt32LE() + 5 + pos;
|
||||
break;
|
||||
|
|
@ -242,13 +246,6 @@ function parseComand({ start, makiFile, length, pos }) {
|
|||
arg = makiFile.readUInt32LE();
|
||||
break;
|
||||
}
|
||||
case "func": {
|
||||
// Note in the perl code here: "todo, something strange going on here..."
|
||||
const variable = makiFile.readUInt32LE() + 5;
|
||||
const offset = variable + pos;
|
||||
arg = offset;
|
||||
break;
|
||||
}
|
||||
case "obj": {
|
||||
// Classes Offset
|
||||
arg = makiFile.readUInt32LE();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue