summaryrefslogtreecommitdiffstatshomepage
path: root/src/mess/video/apple1.c
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2012-09-06 06:19:32 +0000
committer Aaron Giles <aaron@aarongiles.com>2012-09-06 06:19:32 +0000
commita50849088e1406403ffdef0c15b97e74923c3bee (patch)
tree03e9309750dd1fee44133092444866cee09ac404 /src/mess/video/apple1.c
parent16c2e208e340d22f24163da9007051c8d8e063f5 (diff)
gfx_element is now a class. Accessors are provided for all
necessary elements. Updated some of the more, ah, creative uses/abuses of the gfx_elements. [Aaron Giles]
Diffstat (limited to 'src/mess/video/apple1.c')
-rw-r--r--src/mess/video/apple1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mess/video/apple1.c b/src/mess/video/apple1.c
index 96ba2c84177..cb7ed6970e1 100644
--- a/src/mess/video/apple1.c
+++ b/src/mess/video/apple1.c
@@ -187,8 +187,8 @@ static terminal_t *terminal_create(
terminal_t *term;
int char_width, char_height;
- char_width = machine.gfx[gfx]->width;
- char_height = machine.gfx[gfx]->height;
+ char_width = machine.gfx[gfx]->width();
+ char_height = machine.gfx[gfx]->height();
term = (terminal_t *) auto_alloc_array(machine, char, sizeof(terminal_t) - sizeof(term->mem)
+ (num_cols * num_rows * sizeof(termchar_t)));