aboutsummaryrefslogtreecommitdiff
path: root/engines/cge2
diff options
context:
space:
mode:
Diffstat (limited to 'engines/cge2')
-rw-r--r--engines/cge2/cge2_main.cpp1
-rw-r--r--engines/cge2/vga13h.cpp2
-rw-r--r--engines/cge2/vga13h.h1
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;