[Scummvm-cvs-logs] SF.net SVN: scummvm: [24800] scummvm/trunk/sound/fmopl.cpp

agent-q at users.sourceforge.net agent-q at users.sourceforge.net
Fri Dec 1 23:44:20 CET 2006


Revision: 24800
          http://svn.sourceforge.net/scummvm/?rev=24800&view=rev
Author:   agent-q
Date:     2006-12-01 14:44:19 -0800 (Fri, 01 Dec 2006)

Log Message:
-----------
Changed size of sine table so it take less memory in cache RAM on DS port

Modified Paths:
--------------
    scummvm/trunk/sound/fmopl.cpp

Modified: scummvm/trunk/sound/fmopl.cpp
===================================================================
--- scummvm/trunk/sound/fmopl.cpp	2006-12-01 22:36:54 UTC (rev 24799)
+++ scummvm/trunk/sound/fmopl.cpp	2006-12-01 22:44:19 UTC (rev 24800)
@@ -61,7 +61,11 @@
 
 /* sinwave entries */
 /* used static memory = SIN_ENT * 4 (byte) */
+#ifdef __DS__
+#define SIN_ENT 1024
+#else
 #define SIN_ENT 2048
+#endif
 
 /* output level entries (envelope,sinwave) */
 /* envelope counter lower bits */


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