diff sms.c @ 1758:95e387e1d63c mame_interp

Fix build
author Michael Pavone <pavone@retrodev.com>
date Tue, 19 Feb 2019 07:03:57 +0000
parents 956c1cce05e2
children 8fe162bdb038
line wrap: on
line diff
--- a/sms.c	Thu Jan 24 19:15:59 2019 -0800
+++ b/sms.c	Tue Feb 19 07:03:57 2019 +0000
@@ -482,7 +482,9 @@
 {
 	sms_context *sms = (sms_context *)system;
 	sms->should_return = 1;
+#ifdef USE_NATIVE
 	sms->z80->target_cycle = sms->z80->sync_cycle = sms->z80->current_cycle;
+#endif
 }
 
 static void inc_debug_mode(system_header *system)