missing "Start" label in disassembly fixed

negative block cycle count displayed correctly
This commit is contained in:
thrust26 2017-10-17 19:07:15 +02:00
parent 5c6fef4760
commit cc04c3e826
2 changed files with 3 additions and 8 deletions

View File

@ -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())
{

View File

@ -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;