diff options
author | Strangerke | 2011-06-12 01:13:44 +0200 |
---|---|---|
committer | Strangerke | 2011-06-12 01:13:44 +0200 |
commit | 3bef49c003a888b935dc2aeaf2aa00e66249e71c (patch) | |
tree | 120d78ad2e1f1619d5fc0a2c350b572e39cc9d83 /engines/cge/talk.cpp | |
parent | 92076d464148d2d6ecab544076bc10718a463c7b (diff) | |
download | scummvm-rg350-3bef49c003a888b935dc2aeaf2aa00e66249e71c.tar.gz scummvm-rg350-3bef49c003a888b935dc2aeaf2aa00e66249e71c.tar.bz2 scummvm-rg350-3bef49c003a888b935dc2aeaf2aa00e66249e71c.zip |
CGE: Suppress VGA::Exit, some cleanup, add one missing source
Diffstat (limited to 'engines/cge/talk.cpp')
-rw-r--r-- | engines/cge/talk.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/cge/talk.cpp b/engines/cge/talk.cpp index 851b96cf99..9fd32ab7d2 100644 --- a/engines/cge/talk.cpp +++ b/engines/cge/talk.cpp @@ -245,7 +245,8 @@ BITMAP * TALK::Box (uint16 w, uint16 h) if (w < 8) w = 8; if (h < 8) h = 8; b = farnew(uint8, n = w * h); - if (! b) VGA::Exit("No core"); + if (! b) + error("No core"); memset(b, TEXT_BG, n); if (Mode) |