diff trans.c @ 1303:208803173ebc

Implemented M68K trace mode. Some edge cases/SR update paths still need work
author Michael Pavone <pavone@retrodev.com>
date Tue, 28 Mar 2017 00:13:35 -0700
parents 2ec5e6eaf81d
children 5b90d7669eee
line wrap: on
line diff
--- a/trans.c	Mon Mar 27 09:45:40 2017 -0700
+++ b/trans.c	Tue Mar 28 00:13:35 2017 -0700
@@ -24,6 +24,9 @@
 	if (context->current_cycle > 0x80000000) {
 		context->current_cycle -= 0x80000000;
 	}
+	if (context->status & 0x80) {
+		context->target_cycle = context->current_cycle;
+	}
 	return context;
 }