mirror of https://github.com/stella-emu/stella.git
fix for temporary macro labels ('...$')
This commit is contained in:
parent
4228093638
commit
2efeb6cdb7
|
@ -816,10 +816,14 @@ string CartDebug::loadSymbolFile()
|
|||
if(pos != string::npos)
|
||||
addLabel(label.substr(pos), value);
|
||||
else
|
||||
{
|
||||
pos = label.find_last_of("$");
|
||||
if (pos == string::npos || pos != label.length() - 1)
|
||||
addLabel(label, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
myDebugger.rom().invalidate();
|
||||
|
||||
return "loaded " + node.getShortPath() + " OK";
|
||||
|
|
Loading…
Reference in New Issue