mirror of
https://github.com/holub/mame
synced 2025-05-23 14:19:01 +03:00
Fix bad loop condition that shows up with -cheat enabled.
This commit is contained in:
parent
4df35a02d9
commit
0910f8038a
@ -1646,7 +1646,7 @@ static slider_state *slider_init(running_machine *machine)
|
|||||||
if (options_get_bool(machine->options(), OPTION_CHEAT))
|
if (options_get_bool(machine->options(), OPTION_CHEAT))
|
||||||
{
|
{
|
||||||
device_execute_interface *exec = NULL;
|
device_execute_interface *exec = NULL;
|
||||||
for (bool gotone = machine->m_devicelist.first(exec); exec != NULL; gotone = exec->next(exec))
|
for (bool gotone = machine->m_devicelist.first(exec); gotone; gotone = exec->next(exec))
|
||||||
{
|
{
|
||||||
void *param = (void *)&exec->device();
|
void *param = (void *)&exec->device();
|
||||||
string.printf("Overclock CPU %s", exec->device().tag());
|
string.printf("Overclock CPU %s", exec->device().tag());
|
||||||
|
Loading…
Reference in New Issue
Block a user