mirror of
https://github.com/holub/mame
synced 2025-05-10 08:12:13 +03:00
Used cpunum_ instead of active_cpu_.
This commit is contained in:
parent
6d6a5b237d
commit
113d019062
@ -231,7 +231,7 @@ static void cop410_init(int index, int clock, const void *config, int (*irqcallb
|
||||
|
||||
/* set clock divider */
|
||||
|
||||
activecpu_set_info_int(CPUINFO_INT_CLOCK_DIVIDER, R.intf->cki);
|
||||
cpunum_set_info_int(index, CPUINFO_INT_CLOCK_DIVIDER, R.intf->cki);
|
||||
|
||||
/* allocate serial timer */
|
||||
|
||||
|
@ -302,7 +302,7 @@ static void cop420_init(int index, int clock, const void *config, int (*irqcallb
|
||||
|
||||
/* set clock divider */
|
||||
|
||||
activecpu_set_info_int(CPUINFO_INT_CLOCK_DIVIDER, R.intf->cki);
|
||||
cpunum_set_info_int(index, CPUINFO_INT_CLOCK_DIVIDER, R.intf->cki);
|
||||
|
||||
/* allocate serial timer */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user