diff options
author | pixel <pixel> | 2005-03-29 01:47:06 +0000 |
---|---|---|
committer | pixel <pixel> | 2005-03-29 01:47:06 +0000 |
commit | 3a0e89c9257062dcc26f08fe6ea2c3392c2a722b (patch) | |
tree | e21a94df0c90c9da8a01b90873bcad453f19a609 | |
parent | 6be605d10fb8d98cd0cd95ea7f9179f73e67b8ed (diff) |
Humf, let's optimize a bit the loading...
-rw-r--r-- | cd-tool.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cd-tool.cpp b/cd-tool.cpp index 3774168..328067e 100644 --- a/cd-tool.cpp +++ b/cd-tool.cpp @@ -17,7 +17,7 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ -/* $Id: cd-tool.cpp,v 1.39 2004-12-27 18:46:44 pixel Exp $ */ +/* $Id: cd-tool.cpp,v 1.40 2005-03-29 01:47:06 pixel Exp $ */ #define WIP @@ -559,10 +559,9 @@ virtual int startup() throw (GeneralException) { if (!compile && builtin) { Buffer built; int i; + + built.write(cd_tool_lua, cd_tool_lua_size); - for (i = 0; i < cd_tool_lua_size; i++) { - built.writeU8(cd_tool_lua[i]); - } try { L->load(&built); } |