mirror of
https://github.com/codedread/bitjs
synced 2025-10-04 18:19:15 +02:00
Add some debug statements for unsupported RarVM functionality
This commit is contained in:
parent
213b78cb14
commit
fb1a94286a
1 changed files with 8 additions and 0 deletions
8
rarvm.js
8
rarvm.js
|
@ -565,6 +565,10 @@ RarVM.prototype.executeCode = function(preparedCodes) {
|
|||
case VM_Commands.VM_STANDARD:
|
||||
this.executeStandardFilter(cmd.Op1.Data);
|
||||
break;
|
||||
|
||||
default:
|
||||
console.error('RarVM OpCode not supported: ' + getDebugString(VM_Commands, cmd.OpCode));
|
||||
break;
|
||||
} // switch (cmd.OpCode)
|
||||
codeIndex++;
|
||||
cmd = preparedCodes[codeIndex];
|
||||
|
@ -601,6 +605,10 @@ RarVM.prototype.executeStandardFilter = function(filterType) {
|
|||
}
|
||||
|
||||
break;
|
||||
|
||||
default:
|
||||
console.error('RarVM Standard Filter not supported: ' + getDebugString(VM_StandardFilters, filterType));
|
||||
break;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue