comparison blastem.c @ 996:784bc1e45e80

Fix 68K interrupt handling some more. Fatal Rewind is working again.
author Michael Pavone <pavone@retrodev.com>
date Sat, 30 Apr 2016 09:45:53 -0700
parents 2bc27415565b
children 560da2e455c2
comparison
equal deleted inserted replaced
995:2bc27415565b 996:784bc1e45e80
173 173
174 } 174 }
175 } 175 }
176 } 176 }
177 } 177 }
178 if (context->int_cycle > context->current_cycle) { 178 if (context->int_cycle > context->current_cycle && context->int_pending == INT_PENDING_SR_CHANGE) {
179 context->int_pending = 0; 179 context->int_pending = 0;
180 } 180 }
181 /*if (context->int_cycle != old_int_cycle) { 181 /*if (context->int_cycle != old_int_cycle) {
182 printf("int cycle changed to: %d, level: %d @ %d(%d), frame: %d, vcounter: %d, hslot: %d, mask: %d, hint_counter: %d\n", context->int_cycle, context->int_num, v_context->cycles, context->current_cycle, v_context->frame, v_context->vcounter, v_context->hslot, context->status & 0x7, v_context->hint_counter); 182 printf("int cycle changed to: %d, level: %d @ %d(%d), frame: %d, vcounter: %d, hslot: %d, mask: %d, hint_counter: %d\n", context->int_cycle, context->int_num, v_context->cycles, context->current_cycle, v_context->frame, v_context->vcounter, v_context->hslot, context->status & 0x7, v_context->hint_counter);
183 old_int_cycle = context->int_cycle; 183 old_int_cycle = context->int_cycle;