Ticket #362: gxemul.patch

File gxemul.patch, 506 bytes (added by Jakub Jermář, 12 years ago)
  • src/cpus/cpu_dyntrans.c

    diff -u -r gxemul-0.4.7.2/src/cpus/cpu_dyntrans.c gxemul-0.4.7.2-jj/src/cpus/cpu_dyntrans.c
    old new  
    257257            cpu->cd.DYNTRANS_ARCH.cur_ic_page;
    258258
    259259        if (single_step || cpu->machine->instruction_trace
    260             || cpu->machine->register_dump) {
     260            || cpu->machine->register_dump || (random() % 15) == 1) {
    261261                /*
    262262                 *  Single-step:
    263263                 */