diff 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
line wrap: on
line diff
--- a/blastem.c	Sat Apr 30 08:37:55 2016 -0700
+++ b/blastem.c	Sat Apr 30 09:45:53 2016 -0700
@@ -175,7 +175,7 @@
 			}
 		}
 	}
-	if (context->int_cycle > context->current_cycle) {
+	if (context->int_cycle > context->current_cycle && context->int_pending == INT_PENDING_SR_CHANGE) {
 		context->int_pending = 0;
 	}
 	/*if (context->int_cycle != old_int_cycle) {