From d78287652285020736231b92537438aa0de7cb8b Mon Sep 17 00:00:00 2001 From: Nipun Garg Date: Sat, 8 Jun 2019 21:27:13 +0530 Subject: HDB: Fix C++11 usage in _format --- engines/hdb/hdb.cpp | 1 + engines/hdb/hdb.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'engines') 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; -- cgit v1.2.3