trunk/src/emu/bus/cpc/playcity.c
r241615 | r241616 | |
126 | 126 | { |
127 | 127 | // Bit of a hack job here, since there is no way currently to connect the CTC channel output directly to the YMZ clocks. |
128 | 128 | UINT8 rate = m_ctc->get_channel_constant(0); |
129 | | UINT64 clk = XTAL_4MHz; |
| 129 | UINT32 clk = XTAL_4MHz; |
130 | 130 | |
131 | 131 | switch(rate) |
132 | 132 | { |
r241615 | r241616 | |
151 | 151 | clk = clk / 2; // YMZ294 has an internal /2 divider (not handled in AY core?) |
152 | 152 | m_ymz1->ay_set_clock(clk); |
153 | 153 | m_ymz2->ay_set_clock(clk); |
154 | | popmessage("YMZ clocks set to %" I64FMT "Hz",clk); |
| 154 | popmessage("YMZ clocks set to %d Hz",clk); |
155 | 155 | } |
156 | 156 | |