diff options
author | Max Horn | 2009-02-24 20:33:31 +0000 |
---|---|---|
committer | Max Horn | 2009-02-24 20:33:31 +0000 |
commit | 220270586c5a42f7352277bc338c54b22e8b7372 (patch) | |
tree | cf852a571555bce9fc9d0cd8f5fab326976397bf /engines/sci/gfx/gfx_driver.cpp | |
parent | 241340a07ea138c6badd3727683097e863ef35f0 (diff) | |
download | scummvm-rg350-220270586c5a42f7352277bc338c54b22e8b7372.tar.gz scummvm-rg350-220270586c5a42f7352277bc338c54b22e8b7372.tar.bz2 scummvm-rg350-220270586c5a42f7352277bc338c54b22e8b7372.zip |
SCI: Removed usec_sleep from gfx_driver_t (call OSystem::delayMillis directly instead); added remarks that busy-waiting like this with delayMillis is maybe not the best way, and that gfx_driver_t should be either removed or turned into a class
svn-id: r38851
Diffstat (limited to 'engines/sci/gfx/gfx_driver.cpp')
-rw-r--r-- | engines/sci/gfx/gfx_driver.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/engines/sci/gfx/gfx_driver.cpp b/engines/sci/gfx/gfx_driver.cpp index b3bb8813f1..a142de162c 100644 --- a/engines/sci/gfx/gfx_driver.cpp +++ b/engines/sci/gfx/gfx_driver.cpp @@ -463,11 +463,6 @@ static sci_event_t scummvm_get_event(gfx_driver_t *drv) { return input; } -static int scummvm_usec_sleep(gfx_driver_t *drv, long usecs) { - g_system->delayMillis(usecs / 1000); - return GFX_OK; -} - gfx_driver_t gfx_driver_scummvm = { NULL, 0, 0, @@ -486,7 +481,6 @@ gfx_driver_t gfx_driver_scummvm = { scummvm_set_pointer, scummvm_set_palette, scummvm_get_event, - scummvm_usec_sleep, NULL }; |