summaryrefslogtreecommitdiffstatshomepage
path: root/src/devices/video/gb_lcd.cpp
diff options
context:
space:
mode:
author Vas Crabb <vas@vastheman.com>2016-08-16 17:24:15 +1000
committer Vas Crabb <vas@vastheman.com>2016-08-16 17:25:19 +1000
commit222d054bdc770038a22f389cd493c43dc05e0ec4 (patch)
tree8d36556a505b04360db3ab162c81aa48dd2f48b0 /src/devices/video/gb_lcd.cpp
parent8aebdfc06d985d3dcca73d1eaa97c3c6bf564a64 (diff)
Fix up GBA build and replace some stupid macros with members
Diffstat (limited to 'src/devices/video/gb_lcd.cpp')
-rw-r--r--src/devices/video/gb_lcd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devices/video/gb_lcd.cpp b/src/devices/video/gb_lcd.cpp
index 024ba3d777a..e4e34e8e2e7 100644
--- a/src/devices/video/gb_lcd.cpp
+++ b/src/devices/video/gb_lcd.cpp
@@ -419,7 +419,7 @@ void gb_lcd_device::common_reset()
// specific reg initialization
m_vid_regs[0x06] = 0xff;
- for (int i = 0x0c; i < _NR_GB_VID_REGS; i++)
+ for (int i = 0x0c; i < NR_GB_VID_REGS; i++)
m_vid_regs[i] = 0xff;
LCDSTAT = 0x80;