summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/pc_vga.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/video/pc_vga.cpp')
-rw-r--r--src/devices/video/pc_vga.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/devices/video/pc_vga.cpp b/src/devices/video/pc_vga.cpp
index 1040c0da789..9bf529f7213 100644
--- a/src/devices/video/pc_vga.cpp
+++ b/src/devices/video/pc_vga.cpp
@@ -90,7 +90,7 @@ enum
#define IBM8514_LINE_LENGTH (m_vga->offset())
-#define CHAR_WIDTH ((vga.sequencer.data[1]&1)?8:9)
+#define VGA_CH_WIDTH ((vga.sequencer.data[1]&1)?8:9)
#define TEXT_COLUMNS (vga.crtc.horz_disp_end+1)
#define TEXT_START_ADDRESS (vga.crtc.start_addr<<3)
@@ -452,7 +452,7 @@ void vga_device::vga_vh_text(bitmap_rgb32 &bitmap, const rectangle &cliprect)
uint8_t bits;
uint32_t font_base;
uint32_t *bitmapline;
- int width=CHAR_WIDTH, height = (vga.crtc.maximum_scan_line) * (vga.crtc.scan_doubling + 1);
+ int width=VGA_CH_WIDTH, height = (vga.crtc.maximum_scan_line) * (vga.crtc.scan_doubling + 1);
int pos, line, column, mask, w, h, addr;
uint8_t blink_en,fore_col,back_col;
pen_t pen;
@@ -1392,7 +1392,7 @@ void vga_device::recompute_params_clock(int divisor, int xtal)
{
int vblank_period,hblank_period;
attoseconds_t refresh;
- uint8_t hclock_m = (!GRAPHIC_MODE) ? CHAR_WIDTH : 8;
+ uint8_t hclock_m = (!GRAPHIC_MODE) ? VGA_CH_WIDTH : 8;
int pixel_clock;
/* safety check */