summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame/video/pdp1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mame/video/pdp1.cpp')
-rw-r--r--src/mame/video/pdp1.cpp7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/mame/video/pdp1.cpp b/src/mame/video/pdp1.cpp
index 793f9ea5a56..cbdb3031fbd 100644
--- a/src/mame/video/pdp1.cpp
+++ b/src/mame/video/pdp1.cpp
@@ -29,7 +29,7 @@
inline void pdp1_state::pdp1_plot_pixel(bitmap_ind16 &bitmap, int x, int y, uint32_t color)
{
- bitmap.pix16(y, x) = color;
+ bitmap.pix(y, x) = color;
}
/*
@@ -356,13 +356,12 @@ enum
void pdp1_typewriter_device::linefeed()
{
uint8_t buf[typewriter_window_width];
- int y;
assert(typewriter_window_width <= m_bitmap.width());
assert(typewriter_window_height <= m_bitmap.height());
- for (y=0; y<typewriter_window_height-typewriter_scroll_step; y++)
+ for (int y=0; y<typewriter_window_height-typewriter_scroll_step; y++)
{
- std::copy_n(&m_bitmap.pix16(y+typewriter_scroll_step, 0), typewriter_window_width, buf);
+ std::copy_n(&m_bitmap.pix(y+typewriter_scroll_step, 0), typewriter_window_width, buf);
draw_scanline8(m_bitmap, 0, y, typewriter_window_width, buf, m_driver_state->m_palette->pens());
}