Ticket #36070: 3694.diff

File 3694.diff, 405 bytes (added by domiman@…, 12 years ago)
  • src/cpu/callback.cpp

     
    6565        Bit16u oldcs=SegValue(cs);
    6666        Bit32u oldeip=reg_eip;
    6767        SegSet16(cs,CB_SEG);
    68         reg_eip=call_idle*CB_SIZE;
     68        reg_eip=CB_SOFFSET+call_idle*CB_SIZE;
    6969        DOSBOX_RunMachine();
    7070        reg_eip=oldeip;
    7171        SegSet16(cs,oldcs);