diff options
author | uruk | 2014-06-04 22:57:02 +0200 |
---|---|---|
committer | uruk | 2014-06-04 22:57:02 +0200 |
commit | 26b7ecd2eee36cc1ef05689be60cd5b3c6843245 (patch) | |
tree | 1b50e64615238c455e2a5372f6b8cca577ea4ca0 /engines | |
parent | 58ee44ceb263b33f40b9eef89254cb8db2f00410 (diff) | |
download | scummvm-rg350-26b7ecd2eee36cc1ef05689be60cd5b3c6843245.tar.gz scummvm-rg350-26b7ecd2eee36cc1ef05689be60cd5b3c6843245.tar.bz2 scummvm-rg350-26b7ecd2eee36cc1ef05689be60cd5b3c6843245.zip |
CGE2: Get rid of _spareQ.
CGE2 uses an instance of Spare instead of it.
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge2/cge2_main.cpp | 1 | ||||
-rw-r--r-- | engines/cge2/vga13h.cpp | 2 | ||||
-rw-r--r-- | engines/cge2/vga13h.h | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/engines/cge2/cge2_main.cpp b/engines/cge2/cge2_main.cpp index a60b31bf34..ee53e53bcc 100644 --- a/engines/cge2/cge2_main.cpp +++ b/engines/cge2/cge2_main.cpp @@ -556,7 +556,6 @@ void CGE2Engine::runGame() { _commandHandlerTurbo->addCommand(kCmdClear, -1, 0, nullptr); _mouse->off(); _vga->_showQ->clear(); - _vga->_spareQ->clear(); } void CGE2Engine::loadUser() { diff --git a/engines/cge2/vga13h.cpp b/engines/cge2/vga13h.cpp index 26e6604f00..9fb2a47aca 100644 --- a/engines/cge2/vga13h.cpp +++ b/engines/cge2/vga13h.cpp @@ -777,7 +777,6 @@ Vga::Vga(CGE2Engine *vm) : _frmCnt(0), _msg(NULL), _name(NULL), _setPal(false), _oldColors = NULL; _newColors = NULL; _showQ = new Queue(true); - _spareQ = new Queue(false); _sysPal = new Dac[kPalCount]; for (int idx = 0; idx < 4; idx++) { @@ -821,7 +820,6 @@ Vga::~Vga() { debugN("%s", buffer.c_str()); delete _showQ; - delete _spareQ; delete[] _sysPal; for (int idx = 0; idx < 4; idx++) { diff --git a/engines/cge2/vga13h.h b/engines/cge2/vga13h.h index 583cf73a7d..0c45ab8489 100644 --- a/engines/cge2/vga13h.h +++ b/engines/cge2/vga13h.h @@ -247,7 +247,6 @@ class Vga { public: uint32 _frmCnt; Queue *_showQ; - Queue *_spareQ; int _mono; Graphics::Surface *_page[4]; Dac *_sysPal; |