mirror of
https://github.com/holub/mame
synced 2025-06-04 03:46:29 +03:00
Get mess compiling again - uint32 should be enough, eh? (nw)
This commit is contained in:
parent
eea7e62467
commit
51d272e69c
@ -126,7 +126,7 @@ void cpc_playcity_device::update_ymz_clock()
|
|||||||
{
|
{
|
||||||
// Bit of a hack job here, since there is no way currently to connect the CTC channel output directly to the YMZ clocks.
|
// Bit of a hack job here, since there is no way currently to connect the CTC channel output directly to the YMZ clocks.
|
||||||
UINT8 rate = m_ctc->get_channel_constant(0);
|
UINT8 rate = m_ctc->get_channel_constant(0);
|
||||||
UINT64 clk = XTAL_4MHz;
|
UINT32 clk = XTAL_4MHz;
|
||||||
|
|
||||||
switch(rate)
|
switch(rate)
|
||||||
{
|
{
|
||||||
@ -151,6 +151,6 @@ void cpc_playcity_device::update_ymz_clock()
|
|||||||
clk = clk / 2; // YMZ294 has an internal /2 divider (not handled in AY core?)
|
clk = clk / 2; // YMZ294 has an internal /2 divider (not handled in AY core?)
|
||||||
m_ymz1->ay_set_clock(clk);
|
m_ymz1->ay_set_clock(clk);
|
||||||
m_ymz2->ay_set_clock(clk);
|
m_ymz2->ay_set_clock(clk);
|
||||||
popmessage("YMZ clocks set to %" I64FMT "Hz",clk);
|
popmessage("YMZ clocks set to %d Hz",clk);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user