mirror of
https://github.com/holub/mame
synced 2025-05-21 21:29:15 +03:00
Fix 64bit compile
This commit is contained in:
parent
5816061f8e
commit
1192928c0c
@ -409,7 +409,7 @@ int debug_command_parameter_cpu(running_machine *machine, const char *param, con
|
|||||||
/* if out of range, complain */
|
/* if out of range, complain */
|
||||||
if (cpunum >= ARRAY_LENGTH(machine->cpu) || machine->cpu[cpunum] == NULL)
|
if (cpunum >= ARRAY_LENGTH(machine->cpu) || machine->cpu[cpunum] == NULL)
|
||||||
{
|
{
|
||||||
debug_console_printf("Invalid CPU index %d\n", (UINT32)*result);
|
debug_console_printf("Invalid CPU index %d\n", (UINT32) ((FPTR)*result));
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user