src/musashi/m68kcpu.c

changeset 109
2f8afb9e5baa
parent 31
4fea89e86c5e
child 118
feee84e0b3bf
     1.1 diff -r 5f7faf5ecbf4 -r 2f8afb9e5baa src/musashi/m68kcpu.c
     1.2 --- a/src/musashi/m68kcpu.c	Tue Nov 15 09:30:57 2011 +0000
     1.3 +++ b/src/musashi/m68kcpu.c	Tue Nov 15 10:12:37 2011 +0000
     1.4 @@ -641,6 +641,10 @@
     1.5  		/* Main loop.  Keep going until we run out of clock cycles */
     1.6  		do
     1.7  		{
     1.8 +			if (BUS_ERROR_OCCURRED){
     1.9 +				m68ki_jump_bus_error_vector();
    1.10 +				BUS_ERROR_OCCURRED = 0;
    1.11 +			}
    1.12  			/* Set tracing accodring to T1. (T0 is done inside instruction) */
    1.13  			m68ki_trace_t1(); /* auto-disable (see m68kcpu.h) */
    1.14