mirror of
https://github.com/libretro/scummvm.git
synced 2025-04-02 23:01:42 +00:00
AGI: Init video before font + text init
This commit is contained in:
parent
f07bcff3cb
commit
b443ac7b95
@ -469,6 +469,8 @@ void AgiEngine::initialize() {
|
||||
_systemUI = new SystemUI(this, _gfx, _text);
|
||||
_inventory = new InventoryMgr(this, _gfx, _text, _systemUI);
|
||||
|
||||
_gfx->initVideo();
|
||||
|
||||
_font->init();
|
||||
_text->init(_systemUI);
|
||||
|
||||
@ -478,8 +480,6 @@ void AgiEngine::initialize() {
|
||||
|
||||
_game.name[0] = '\0';
|
||||
|
||||
_gfx->initVideo();
|
||||
|
||||
_lastSaveTime = 0;
|
||||
|
||||
debugC(2, kDebugLevelMain, "Detect game");
|
||||
|
Loading…
x
Reference in New Issue
Block a user