diff options
| author | Nipun Garg | 2019-06-08 21:27:13 +0530 | 
|---|---|---|
| committer | Eugene Sandulenko | 2019-09-03 17:16:46 +0200 | 
| commit | d78287652285020736231b92537438aa0de7cb8b (patch) | |
| tree | 29c1346239ab659f68a013bb62ff3f9075897c8b | |
| parent | 5f00731ff6839e2b3359b2362a8eb871733d0496 (diff) | |
| download | scummvm-rg350-d78287652285020736231b92537438aa0de7cb8b.tar.gz scummvm-rg350-d78287652285020736231b92537438aa0de7cb8b.tar.bz2 scummvm-rg350-d78287652285020736231b92537438aa0de7cb8b.zip | |
HDB: Fix C++11 usage in _format
| -rw-r--r-- | engines/hdb/hdb.cpp | 1 | ||||
| -rw-r--r-- | engines/hdb/hdb.h | 2 | 
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; | 
