Fixed disassembly output error for 'relative' opcodes; only the signed

operand should be shown, not the two-byte address which it resolves into.

Bumped version # for another test release.


git-svn-id: svn://svn.code.sf.net/p/stella/code/trunk@2140 8b62c5a3-ac7e-4cc8-8f21-d9a121418aba
This commit is contained in:
stephena 2010-10-03 18:48:44 +00:00
parent 4b44dcb948
commit 64ca5275d2
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@
#include <cstdlib>
#define STELLA_VERSION "3.3_test5"
#define STELLA_VERSION "3.3_test6"
#define STELLA_BUILD atoi("$Rev$" + 6)
#endif

View File

@ -601,7 +601,7 @@ void DiStella::disasm(uInt32 distart, int pass)
else
nextline << " $" << HEX4 << ad;
nextlinebytes << HEX2 << (int)(ad&0xff) << " " << HEX2 << (int)(ad>>8);
nextlinebytes << HEX2 << (int)d1;
}
break;
}