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

fingolfin at users.sourceforge.net fingolfin at users.sourceforge.net
Thu Feb 15 13:00:14 CET 2007


Revision: 25604
          http://scummvm.svn.sourceforge.net/scummvm/?rev=25604&view=rev
Author:   fingolfin
Date:     2007-02-15 04:00:13 -0800 (Thu, 15 Feb 2007)

Log Message:
-----------
added some static keywords

Modified Paths:
--------------
    scummvm/trunk/engines/scumm/player_nes.cpp

Modified: scummvm/trunk/engines/scumm/player_nes.cpp
===================================================================
--- scummvm/trunk/engines/scumm/player_nes.cpp	2007-02-15 11:56:17 UTC (rev 25603)
+++ scummvm/trunk/engines/scumm/player_nes.cpp	2007-02-15 12:00:13 UTC (rev 25604)
@@ -75,7 +75,7 @@
 	int	SampleRate;
 } APU;
 
-const byte LengthCounts[32] = {
+static const byte LengthCounts[32] = {
 	0x0A,0xFE,
 	0x14,0x02,
 	0x28,0x04,
@@ -108,7 +108,7 @@
 	int32 Pos;
 } Square0, Square1;
 
-const int8 Duties[4][8] = {
+static const int8 Duties[4][8] = {
 	{-4,+4,-4,-4,-4,-4,-4,-4},
 	{-4,+4,+4,-4,-4,-4,-4,-4},
 	{-4,+4,+4,+4,+4,-4,-4,-4},
@@ -320,7 +320,7 @@
 	int32 Pos;
 } Triangle;
 
-const int8 TriDuty[32] = {
+static const int8 TriDuty[32] = {
 	-8,-7,-6,-5,-4,-3,-2,-1,
 	+0,+1,+2,+3,+4,+5,+6,+7,
 	+7,+6,+5,+4,+3,+2,+1,+0,


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list