diff options
author | Strangerke | 2015-12-06 14:49:50 +0100 |
---|---|---|
committer | Willem Jan Palenstijn | 2015-12-23 21:33:51 +0100 |
commit | fa966938c8bf7fc5c933050fb74332d8ac0506a1 (patch) | |
tree | fd5671ac3df5552730cfef471623b7443ea84fee /engines/lab/lab.cpp | |
parent | ef99d82d13fdbfcaedd8e5fdea243ba3740c5185 (diff) | |
download | scummvm-rg350-fa966938c8bf7fc5c933050fb74332d8ac0506a1.tar.gz scummvm-rg350-fa966938c8bf7fc5c933050fb74332d8ac0506a1.tar.bz2 scummvm-rg350-fa966938c8bf7fc5c933050fb74332d8ac0506a1.zip |
LAB: Remove vga.cpp
Diffstat (limited to 'engines/lab/lab.cpp')
-rw-r--r-- | engines/lab/lab.cpp | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/engines/lab/lab.cpp b/engines/lab/lab.cpp index 1e15845201..6781a8acc0 100644 --- a/engines/lab/lab.cpp +++ b/engines/lab/lab.cpp @@ -183,4 +183,21 @@ void LabEngine::drawStaticMessage(byte index) { _graphics->drawMessage(_resource->getStaticText((StaticText)index).c_str()); } +void LabEngine::changeVolume(int delta) { + warning("STUB: changeVolume()"); +} + +void LabEngine::waitTOF() { + g_system->copyRectToScreen(_graphics->_displayBuffer, _graphics->_screenWidth, 0, 0, _graphics->_screenWidth, _graphics->_screenHeight); + g_system->updateScreen(); + + _event->processInput(); + + uint32 now; + + for (now = g_system->getMillis(); now - _lastWaitTOFTicks <= 0xF; now = g_system->getMillis() ) + g_system->delayMillis(_lastWaitTOFTicks - now + 17); + + _lastWaitTOFTicks = now; +} } // End of namespace Lab |