Previous 15994 Revisions Next

r8437 Thursday 8th July, 2010 at 06:28:24 UTC by Miodrag Milanović
Fix bad loop condition that shows up with -cheat enabled. [Aaron Giles]
[src/emu]ui.c

src/emu/ui.c
r8436r8437
16461646   if (options_get_bool(machine->options(), OPTION_CHEAT))
16471647   {
16481648      device_execute_interface *exec = NULL;
1649      for (bool gotone = machine->m_devicelist.first(exec); exec != NULL; gotone = exec->next(exec))
1649      for (bool gotone = machine->m_devicelist.first(exec); gotone; gotone = exec->next(exec))
16501650      {
16511651         void *param = (void *)&exec->device();
16521652         string.printf("Overclock CPU %s", exec->device().tag());

Previous 15994 Revisions Next


© 1998-2018 The MESS Team