mirror of
https://github.com/holub/mame
synced 2025-04-19 15:11:37 +03:00
cpuintrf_init: use the machine parameter instead of the Machine global variable
This commit is contained in:
parent
4ddf534a33
commit
c000a7a284
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user