diff options
author | 2015-12-04 07:02:45 +0100 | |
---|---|---|
committer | 2015-12-04 07:02:45 +0100 | |
commit | 0c56ac848dd0eba359500d444ecbb51f215ff5b9 (patch) | |
tree | ad3444449470cec94ccaffd174c5a4d1bc90d1e1 /src/devices/video/crtc_ega.cpp | |
parent | 68f961927a156c47cb444c1f66258a89342d0205 (diff) |
clang-modernize part 3
Diffstat (limited to 'src/devices/video/crtc_ega.cpp')
-rw-r--r-- | src/devices/video/crtc_ega.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/devices/video/crtc_ega.cpp b/src/devices/video/crtc_ega.cpp index c8c4c212f72..0841adcc69a 100644 --- a/src/devices/video/crtc_ega.cpp +++ b/src/devices/video/crtc_ega.cpp @@ -192,7 +192,7 @@ void crtc_ega_device::recompute_parameters(bool postload) if (LOG) logerror("CRTC_EGA config screen: HTOTAL: 0x%x VTOTAL: 0x%x MAX_X: 0x%x MAX_Y: 0x%x HSYNC: 0x%x-0x%x VSYNC: 0x%x-0x%x Freq: %ffps\n", horiz_pix_total, vert_pix_total, max_visible_x, max_visible_y, hsync_on_pos, hsync_off_pos - 1, vsync_on_pos, vsync_off_pos - 1, 1 / ATTOSECONDS_TO_DOUBLE(refresh)); - if ( m_screen != NULL ) + if ( m_screen != nullptr ) m_screen->configure(horiz_pix_total, vert_pix_total, visarea, refresh); m_has_valid_parameters = true; @@ -346,7 +346,7 @@ void crtc_ega_device::handle_line_timer() /* also update the cursor state now */ update_cursor_state(); - if (m_screen != NULL) + if (m_screen != nullptr) m_screen->reset_origin(); } |