diff options
author | Kostas Nakos | 2008-08-10 17:13:24 +0000 |
---|---|---|
committer | Kostas Nakos | 2008-08-10 17:13:24 +0000 |
commit | cb6cbc69d3e9f14b0d4178e6f0d852bff0d1e006 (patch) | |
tree | c184b778121161d7356afac80f5d905dba9547f7 /engines | |
parent | 002c55dfac217faba3187f749c71b1acc7c24044 (diff) | |
download | scummvm-rg350-cb6cbc69d3e9f14b0d4178e6f0d852bff0d1e006.tar.gz scummvm-rg350-cb6cbc69d3e9f14b0d4178e6f0d852bff0d1e006.tar.bz2 scummvm-rg350-cb6cbc69d3e9f14b0d4178e6f0d852bff0d1e006.zip |
hint the backend to show the VK
svn-id: r33756
Diffstat (limited to 'engines')
-rw-r--r-- | engines/drascula/saveload.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/engines/drascula/saveload.cpp b/engines/drascula/saveload.cpp index de82899462..6f88a58fbb 100644 --- a/engines/drascula/saveload.cpp +++ b/engines/drascula/saveload.cpp @@ -59,6 +59,8 @@ bool DrasculaEngine::saveLoadScreen() { select[0] = 0; + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, true); + for (;;) { y = 27; copyBackground(0, 0, 0, 0, 320, 200, bgSurface, screenSurface); @@ -140,8 +142,10 @@ bool DrasculaEngine::saveLoadScreen() { } if (mouseX > 125 && mouseY > 123 && mouseX < 199 && mouseY < 149 && selectionMade == 1) { - if (!loadGame(file)) + if (!loadGame(file)) { + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); return false; + } break; } else if (mouseX > 208 && mouseY > 123 && mouseX < 282 && mouseY < 149 && selectionMade == 1) { saveGame(file); @@ -172,6 +176,8 @@ bool DrasculaEngine::saveLoadScreen() { loadPic(roomNumber, bgSurface, HALF_PAL); selectionMade = 0; + _system->setFeatureState(OSystem::kFeatureVirtualKeyboard, false); + return true; } |