[Scummvm-cvs-logs] CVS: scummvm/sword2 resman.cpp,1.92,1.93
Torbj?rn Andersson
eriktorbjorn at users.sourceforge.net
Sun May 9 06:21:08 CEST 2004
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/dists/msvc7 scummvm.sln,1.10,1.11 scummvm.vcproj,1.29,1.30 awe.vcproj,1.1,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_draw.h,1.29,1.30 rdwin.cpp,1.45,1.46 render.cpp,1.61,1.62 sprite.cpp,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/scummvm/scummvm/sword2
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv10652
Modified Files:
resman.cpp
Log Message:
My recent sound changes broke "restart". This should un-break it again.
Index: resman.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sword2/resman.cpp,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -d -r1.92 -r1.93
--- resman.cpp 1 May 2004 10:42:16 -0000 1.92
+++ resman.cpp 9 May 2004 13:20:12 -0000 1.93
@@ -758,6 +758,12 @@
*/
void ResourceManager::removeAll(void) {
+ // We need to clear the FX queue, because otherwise the sound system
+ // will still believe that the sound resources are in memory, and that
+ // it's ok to close them.
+
+ _vm->clearFxQueue();
+
for (uint i = 0; i < _totalResFiles; i++)
remove(i);
}
- Previous message: [Scummvm-cvs-logs] CVS: scummvm/dists/msvc7 scummvm.sln,1.10,1.11 scummvm.vcproj,1.29,1.30 awe.vcproj,1.1,NONE
- Next message: [Scummvm-cvs-logs] CVS: scummvm/sword2/driver d_draw.h,1.29,1.30 rdwin.cpp,1.45,1.46 render.cpp,1.61,1.62 sprite.cpp,1.40,1.41
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the Scummvm-git-logs
mailing list