[Scummvm-cvs-logs] SF.net SVN: scummvm: [21069] scummvm/trunk/engines/scumm/scumm.cpp

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Sat Mar 4 03:58:01 CET 2006


Revision: 21069
Author:   fingolfin
Date:     2006-03-04 03:57:14 -0800 (Sat, 04 Mar 2006)
ViewCVS:  http://svn.sourceforge.net/scummvm?rev=21069&view=rev

Log Message:
-----------
Const as const can (marking things as const/static allows better compiler optimizations and helps to catch certain bugs)

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/scumm.cpp
Modified: scummvm/trunk/engines/scumm/scumm.cpp
===================================================================
--- scummvm/trunk/engines/scumm/scumm.cpp	2006-03-04 11:55:49 UTC (rev 21068)
+++ scummvm/trunk/engines/scumm/scumm.cpp	2006-03-04 11:57:14 UTC (rev 21069)
@@ -79,7 +79,7 @@
 ScummEngine *g_scumm = 0;
 
 
-static SubstResFileNames substResFileNameTable[] = {
+static const SubstResFileNames substResFileNameTable[] = {
 	// The first few entries for 00.LFL/01.LFL files are here for two reasons:
 	// 1) For the detector to detect these games
 	// 2) Because the ScummEngine constructor distinguishes between extracted







More information about the Scummvm-git-logs mailing list