mirror of
https://github.com/scummvm/scummvm-tools.git
synced 2026-11-18 21:34:50 +00:00
DECOMPILER: Add 'pos' parameter to processSpecialMetadata
svn-id: r52036
This commit is contained in:
1 parent
2460cad3ef
commit
cfe883f0b6
6 files changed
+12
-11
No files matched your search
@@ -423,7 +423,7 @@ std::string Scumm::v6::Scummv6CodeGenerator::decodeArrayName(uint16 arrID) {
|
||||
return s.str();
|
||||
}
|
||||
|
||||
void Scumm::v6::Scummv6CodeGenerator::processSpecialMetadata(const Instruction inst, char c) {
|
||||
void Scumm::v6::Scummv6CodeGenerator::processSpecialMetadata(const Instruction &inst, char c, int pos) {
|
||||
switch (c) {
|
||||
// All of these meanings are taken from descumm.
|
||||
case 'l':
|
||||
@@ -458,7 +458,7 @@ void Scumm::v6::Scummv6CodeGenerator::processSpecialMetadata(const Instruction i
|
||||
addArg(_stack.pop());
|
||||
break;
|
||||
default:
|
||||
CodeGenerator::processSpecialMetadata(inst, c);
|
||||
CodeGenerator::processSpecialMetadata(inst, c, pos);
|
||||
break;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user