diff z80_to_x86.c @ 701:200ee73c7210

Remove/comment verbose logging added for tracking down sync bug
author Michael Pavone <pavone@retrodev.com>
date Mon, 11 May 2015 20:34:33 -0700
parents 7f96bd1cb1be
children 144df1a6d3b9
line wrap: on
line diff
--- a/z80_to_x86.c	Mon May 11 20:31:59 2015 -0700
+++ b/z80_to_x86.c	Mon May 11 20:34:33 2015 -0700
@@ -2279,10 +2279,10 @@
 	z80_run(context, cycle);
 	if (context->reset) {
 		//TODO: Handle case where reset is not asserted long enough
-	context->im = 0;
-	context->iff1 = context->iff2 = 0;
+		context->im = 0;
+		context->iff1 = context->iff2 = 0;
 		context->native_pc = NULL;
-	context->extra_pc = NULL;
+		context->extra_pc = NULL;
 		context->pc = 0;
 		context->reset = 0;
 		if (context->busreq) {
@@ -2294,11 +2294,9 @@
 
 void z80_assert_busreq(z80_context * context, uint32_t cycle)
 {
-	printf("bus requested at %d\n", cycle);
 	z80_run(context, cycle);
-	printf("asserted busreq at %d\n", context->current_cycle);
 	context->busreq = 1;
-		}
+}
 
 void z80_clear_busreq(z80_context * context, uint32_t cycle)
 {