1
0
mirror of https://github.com/cc65/cc65.git synced 2024-12-27 00:29:31 +00:00

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 /* Be sure not to set the breakpoint twice if this is a jump to
* the following instruction. * the following instruction.
*/ */
Offs = *(signed char*)(brk_pc+1); Offs = ((signed char*)brk_pc)[1];
if (Offs) { if (Offs) {
DbgSetTmpBreak (brk_pc + Offs + 2); DbgSetTmpBreak (brk_pc + Offs + 2);
} }