diff options
author | Nipun Garg | 2019-07-31 00:20:09 +0530 |
---|---|---|
committer | Eugene Sandulenko | 2019-09-03 17:17:30 +0200 |
commit | c1d2468f075698fddd9cb0f825d6ee1e0752b3bd (patch) | |
tree | 83b236a6902ace983ebe76977be1439a565c4c1d /engines/hdb/hdb.cpp | |
parent | d93c6ec72466e27ffa390c0f6f3933d2ed6640b1 (diff) | |
download | scummvm-rg350-c1d2468f075698fddd9cb0f825d6ee1e0752b3bd.tar.gz scummvm-rg350-c1d2468f075698fddd9cb0f825d6ee1e0752b3bd.tar.bz2 scummvm-rg350-c1d2468f075698fddd9cb0f825d6ee1e0752b3bd.zip |
HDB: Section off PPC-specific code
Diffstat (limited to 'engines/hdb/hdb.cpp')
-rw-r--r-- | engines/hdb/hdb.cpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/hdb/hdb.cpp b/engines/hdb/hdb.cpp index 12d0871768..f4c46dfc63 100644 --- a/engines/hdb/hdb.cpp +++ b/engines/hdb/hdb.cpp @@ -147,7 +147,8 @@ bool HDBGame::init() { _gameShutdown = false; _pauseFlag = 0; _systemInit = true; - _loadingScreenGfx = _gfx->loadPic(PIC_LOADSCREEN); + if (!g_hdb->isPPC()) + _loadingScreenGfx = _gfx->loadPic(PIC_LOADSCREEN); return true; } @@ -806,7 +807,10 @@ void HDBGame::checkProgress() { } void HDBGame::drawLoadingScreen() { - _loadingScreenGfx->draw(0, 0); + if (g_hdb->isPPC()) + _gfx->fillScreen(0); + else + _loadingScreenGfx->draw(0, 0); } struct MapName { |