aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/hdb/hdb.cpp1
-rw-r--r--engines/hdb/hdb.h2
2 files changed, 2 insertions, 1 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp
index eca2b0f77c..42199736c4 100644
--- a/engines/hdb/hdb.cpp
+++ b/engines/hdb/hdb.cpp
@@ -39,6 +39,7 @@ HDBGame* g_hdb;
HDBGame::HDBGame(OSystem *syst, const ADGameDescription *gameDesc) : Engine(syst), _gameDescription(gameDesc) {
_console = nullptr;
+ _format = Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0);
_systemInit = false;
g_hdb = this;
_fileMan = new FileMan;
diff --git a/engines/hdb/hdb.h b/engines/hdb/hdb.h
index d6e36b1705..fdb4887563 100644
--- a/engines/hdb/hdb.h
+++ b/engines/hdb/hdb.h
@@ -112,7 +112,7 @@ public:
void changeGameState();
bool _gameShutdown;
- Graphics::PixelFormat _format = Graphics::PixelFormat(2, 5, 6, 5, 0, 11, 5, 0, 0);
+ Graphics::PixelFormat _format;
private:
Console *_console;