diff options
Diffstat (limited to 'src/mess/video/spectrum.c')
-rw-r--r-- | src/mess/video/spectrum.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mess/video/spectrum.c b/src/mess/video/spectrum.c index ab0fc789755..886974452c1 100644 --- a/src/mess/video/spectrum.c +++ b/src/mess/video/spectrum.c @@ -26,7 +26,7 @@ VIDEO_START_MEMBER(spectrum_state,spectrum) m_flash_invert = 0; m_previous_border_x = 0; m_previous_border_y = 0; - machine().primary_screen->register_screen_bitmap(m_border_bitmap); + machine().first_screen()->register_screen_bitmap(m_border_bitmap); m_screen_location = m_video_ram; } @@ -38,7 +38,7 @@ VIDEO_START_MEMBER(spectrum_state,spectrum_128) m_flash_invert = 0; m_previous_border_x = 0; m_previous_border_y = 0; - machine().primary_screen->register_screen_bitmap(m_border_bitmap); + machine().first_screen()->register_screen_bitmap(m_border_bitmap); } @@ -183,8 +183,8 @@ PALETTE_INIT_MEMBER(spectrum_state,spectrum) void spectrum_state::spectrum_UpdateBorderBitmap() { - unsigned int x = machine().primary_screen->hpos(); - unsigned int y = machine().primary_screen->vpos(); + unsigned int x = machine().first_screen()->hpos(); + unsigned int y = machine().first_screen()->vpos(); int width = m_border_bitmap.width(); int height = m_border_bitmap.height(); |