summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/machine/amstrad.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/machine/amstrad.cpp')
-rw-r--r--src/mame/machine/amstrad.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mame/machine/amstrad.cpp b/src/mame/machine/amstrad.cpp
index 95c5aa5c768..66795b03a54 100644
--- a/src/mame/machine/amstrad.cpp
+++ b/src/mame/machine/amstrad.cpp
@@ -654,7 +654,7 @@ void amstrad_state::amstrad_update_video()
if ( m_gate_array.draw_p )
{
- uint32_t cycles_passed = (now - m_gate_array.last_draw_time ).as_ticks(XTAL_16MHz);
+ uint32_t cycles_passed = (now - m_gate_array.last_draw_time ).as_ticks(XTAL(16'000'000));
while( cycles_passed )
{
@@ -729,7 +729,7 @@ void amstrad_state::amstrad_plus_update_video()
if ( m_gate_array.draw_p )
{
- uint32_t cycles_passed = (now - m_gate_array.last_draw_time ).as_ticks(XTAL_16MHz);
+ uint32_t cycles_passed = (now - m_gate_array.last_draw_time ).as_ticks(XTAL(16'000'000));
while( cycles_passed )
{
@@ -2208,7 +2208,7 @@ The exception is the case where none of b7-b0 are reset (i.e. port &FBFF), which
{
m_aleste_mode = data;
logerror("EXTEND: Port &FABF write 0x%02x\n",data);
- m_crtc->set_clock( ( m_aleste_mode & 0x02 ) ? ( XTAL_16MHz / 8 ) : ( XTAL_16MHz / 16 ) );
+ m_crtc->set_clock( ( m_aleste_mode & 0x02 ) ? ( XTAL(16'000'000) / 8 ) : ( XTAL(16'000'000) / 16 ) );
}
mface2 = dynamic_cast<cpc_multiface2_device*>(get_expansion_device(machine(),"multiface2"));
@@ -3100,7 +3100,7 @@ TIMER_CALLBACK_MEMBER(amstrad_state::cb_set_resolution)
visarea.set(0, 64 + 640 + 64 - 1, 16, 16 + 15 + 200 + 15 - 1);
height = 262;
}
- refresh = HZ_TO_ATTOSECONDS( XTAL_16MHz ) * 1024 * height;
+ refresh = HZ_TO_ATTOSECONDS( XTAL(16'000'000) ) * 1024 * height;
m_screen->configure( 1024, height, visarea, refresh );
}