Small optimization

git-svn-id: svn://svn.cc65.org/cc65/trunk@3632 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
cuz 2005-09-09 17:30:28 +00:00
parent 59ddec10bc
commit 609ae3aca1

View File

@ -1310,7 +1310,7 @@ static void SingleStep (char StepInto)
/* Be sure not to set the breakpoint twice if this is a jump to
* the following instruction.
*/
Offs = *(signed char*)(brk_pc+1);
Offs = ((signed char*)brk_pc)[1];
if (Offs) {
DbgSetTmpBreak (brk_pc + Offs + 2);
}