SCI: Got rid of GFXW() macro; turned GfxWidget::widfree into destructors

svn-id: r40107
This commit is contained in:
Max Horn 2009-04-24 10:48:25 +00:00
parent 80794a6b5a
commit ebcfd9b016
10 changed files with 222 additions and 273 deletions

View file

@ -98,7 +98,7 @@ reg_t kGetEvent(EngineState *s, int funct_nr, int argc, reg_t *argv) {
s->onscreen_console = 1;
} else if ((e.buckybits & SCI_EVM_CTRL) && (e.data == '1')) {
if (s->visual)
s->visual->print(GFXW(s->visual), 0);
s->visual->print(s->visual, 0);
} else {
PUT_SEL32V(obj, type, SCI_EVT_KEYBOARD); // Keyboard event
s->r_acc = make_reg(0, 1);