X-Git-Url: http://shamusworld.gotdns.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdis6809.cpp;h=dbeeedab774006091318b3ac7fc95131433f5d5f;hb=0c6f353827a94eb52c21e677658000f98452b247;hp=7205dc0815a1af2861d41ba461f5ef24603ee0fc;hpb=05e3af22c4bd3c40744505a52bbdb24a13fab694;p=stargem2 diff --git a/src/dis6809.cpp b/src/dis6809.cpp index 7205dc0..dbeeeda 100755 --- a/src/dis6809.cpp +++ b/src/dis6809.cpp @@ -193,20 +193,21 @@ iregs[4][2] = {"X", "Y", "U", "S" }; // static void DisplayBytes(uint16 src, uint32 dst) { + char buf[20], buf2[20]; + + buf[0] = 0; WriteLog("%04X: ", src); - uint8 cnt = 0; // Init counter... if (src > dst) dst += 0x10000; // That should fix the FFFF bug... for(uint32 i=src; i