mirror of https://github.com/stella-emu/stella.git
missing "Start" label in disassembly fixed
negative block cycle count displayed correctly
This commit is contained in:
parent
5c6fef4760
commit
cc04c3e826
|
@ -686,9 +686,6 @@ string CartDebug::loadListFile()
|
|||
// The default naming/location for list files is the ROM dir based on the
|
||||
// actual ROM filename
|
||||
|
||||
myUserAddresses.clear();
|
||||
myUserLabels.clear();
|
||||
|
||||
if(myListFile == "")
|
||||
{
|
||||
FilesystemNode lst(myOSystem.romFile().getPathWithExt("") + ".lst");
|
||||
|
@ -703,8 +700,6 @@ string CartDebug::loadListFile()
|
|||
if(!in.is_open())
|
||||
return DebuggerParser::red("list file '" + node.getShortPath() + "' not readable");
|
||||
|
||||
//myUserCLabels.clear();
|
||||
|
||||
while(!in.eof())
|
||||
{
|
||||
string line, addr_s;
|
||||
|
@ -765,8 +760,8 @@ string CartDebug::loadSymbolFile()
|
|||
if(!in.is_open())
|
||||
return DebuggerParser::red("symbol file '" + node.getShortPath() + "' not readable");
|
||||
|
||||
//myUserAddresses.clear();
|
||||
//myUserLabels.clear();
|
||||
myUserAddresses.clear();
|
||||
myUserLabels.clear();
|
||||
|
||||
while(!in.eof())
|
||||
{
|
||||
|
|
|
@ -107,7 +107,7 @@ void DiStella::disasm(uInt32 distart, int pass)
|
|||
|
||||
uInt8 opcode, d1;
|
||||
uInt16 ad;
|
||||
uInt32 cycles = 0;
|
||||
Int32 cycles = 0;
|
||||
AddressingMode addrMode;
|
||||
int labelFound = 0;
|
||||
stringstream nextLine, nextLineBytes;
|
||||
|
|
Loading…
Reference in New Issue