diff debug.c @ 2072:cc13c100b027

Merge Sega CD branch now that it sort of works
author Michael Pavone <pavone@retrodev.com>
date Sun, 30 Jan 2022 22:29:29 -0800
parents 8ee7ecbf3f21
children ff32a90260c9
line wrap: on
line diff
--- a/debug.c	Sat Jan 01 18:54:46 2022 -0800
+++ b/debug.c	Sun Jan 30 22:29:29 2022 -0800
@@ -740,7 +740,7 @@
 				m68k_disasm(&inst, input_buf);
 				printf("%X: %s\n", address, input_buf);
 			}
-			
+
 			break;
 		case 'n':
 			if (inst.op == M68K_RTS) {
@@ -1012,7 +1012,7 @@
 
 	init_terminal();
 
-	sync_components(context, 0);
+	context->options->sync_components(context, 0);
 	genesis_context *gen = context->system;
 	vdp_force_update_framebuffer(gen->vdp);
 	//probably not necessary, but let's play it safe