Fixed stepping in the debugger.

This commit is contained in:
R. Belmont 2008-11-29 00:51:04 +00:00
parent 92d1c8f83d
commit 86e9b479bd

View File

@ -1081,7 +1081,7 @@ static void registers_update(debug_view *view)
const device_config *screen = Machine->primary_screen;
/* cannot update if no active CPU */
if (Machine->activecpu != NULL)
if (Machine->activecpu == NULL)
return;
total_cycles = cpu_get_total_cycles(Machine->activecpu);