cpuintrf_init: use the machine parameter instead of the Machine global variable

This commit is contained in:
Laurent Desnogues 2008-01-14 16:07:33 +00:00
parent 4ddf534a33
commit c000a7a284

View File

@ -1003,12 +1003,12 @@ void cpuintrf_init(running_machine *machine)
totalcpu = 0;
/* compute information about the CPUs now if we have a machine */
if (Machine != NULL)
if (machine != NULL)
{
/* loop over all defined CPUs */
for (totalcpu = 0; totalcpu < CPU_COUNT; totalcpu++)
{
cpu_type cputype = Machine->drv->cpu[totalcpu].type;
cpu_type cputype = machine->drv->cpu[totalcpu].type;
char familyname[256];
int j;