diff options
author | Einar Johan Trøan Sømåen | 2012-07-30 19:41:44 +0200 |
---|---|---|
committer | Einar Johan Trøan Sømåen | 2012-07-30 19:41:44 +0200 |
commit | 43611724441e880b7283ae195d40f5e63aa6affd (patch) | |
tree | c2eae21a19c8472321d1454a61e4f19a34054a80 /engines/wintermute/system/sys_class_registry.cpp | |
parent | 85ce9340bcb425a6c5e8dbcacff5a7fa2fb4c817 (diff) | |
download | scummvm-rg350-43611724441e880b7283ae195d40f5e63aa6affd.tar.gz scummvm-rg350-43611724441e880b7283ae195d40f5e63aa6affd.tar.bz2 scummvm-rg350-43611724441e880b7283ae195d40f5e63aa6affd.zip |
WINTERMUTE: Redraw ONLY the indicator when saving/loading.
Diffstat (limited to 'engines/wintermute/system/sys_class_registry.cpp')
-rw-r--r-- | engines/wintermute/system/sys_class_registry.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/engines/wintermute/system/sys_class_registry.cpp b/engines/wintermute/system/sys_class_registry.cpp index e991fb3f07..d9303ea729 100644 --- a/engines/wintermute/system/sys_class_registry.cpp +++ b/engines/wintermute/system/sys_class_registry.cpp @@ -201,8 +201,6 @@ bool SystemClassRegistry::saveTable(BaseGame *gameRef, BasePersistenceManager *p if (!quickSave) {
gameRef->_renderer->setIndicatorVal((int)(50.0f / (float)((float)_classes.size() / (float)counter)));
- gameRef->displayContent(false);
- gameRef->_renderer->flip();
}
(it->_value)->saveTable(gameRef, persistMgr);
@@ -235,8 +233,6 @@ bool SystemClassRegistry::loadTable(BaseGame *gameRef, BasePersistenceManager *p for (uint32 i = 0; i < numClasses; i++) {
gameRef->_renderer->setIndicatorVal((int)(50.0f / (float)((float)numClasses / (float)i)));
- gameRef->displayContentSimple();
- gameRef->_renderer->flip();
Common::String className = persistMgr->getStringObj();
NameMap::iterator mapIt = _nameMap.find(className);
@@ -271,8 +267,6 @@ bool SystemClassRegistry::saveInstances(BaseGame *gameRef, BasePersistenceManage if (!quickSave) {
if (counter % 20 == 0) {
gameRef->_renderer->setIndicatorVal((int)(50.0f + 50.0f / (float)((float)_classes.size() / (float)counter)));
- gameRef->displayContent(false);
- gameRef->_renderer->flip();
}
}
gameRef->miniUpdate();
@@ -291,8 +285,6 @@ bool SystemClassRegistry::loadInstances(BaseGame *gameRef, BasePersistenceManage for (int i = 0; i < numInstances; i++) {
if (i % 20 == 0) {
gameRef->_renderer->setIndicatorVal((int)(50.0f + 50.0f / (float)((float)numInstances / (float)i)));
- gameRef->displayContentSimple();
- gameRef->_renderer->flip();
}
checkHeader("<INSTANCE_HEAD>", persistMgr);
|