[Scummvm-cvs-logs] SF.net SVN: scummvm: [25528] scummvm/trunk/tools/create_kyradat/ create_kyradat.cpp
lordhoto at users.sourceforge.net
lordhoto at users.sourceforge.net
Mon Feb 12 18:59:48 CET 2007
Revision: 25528
http://scummvm.svn.sourceforge.net/scummvm/?rev=25528&view=rev
Author: lordhoto
Date: 2007-02-12 09:59:47 -0800 (Mon, 12 Feb 2007)
Log Message:
-----------
Update. (contributed by Florian Kagerer)
Modified Paths:
--------------
scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
Modified: scummvm/trunk/tools/create_kyradat/create_kyradat.cpp
===================================================================
--- scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2007-02-12 17:25:36 UTC (rev 25527)
+++ scummvm/trunk/tools/create_kyradat/create_kyradat.cpp 2007-02-12 17:59:47 UTC (rev 25528)
@@ -25,7 +25,7 @@
#include "md5.h"
enum {
- kKyraDatVersion = 15,
+ kKyraDatVersion = 16,
kIndexSize = 12
};
@@ -337,8 +337,8 @@
}
if (fmtPatch == 2) {
- targetsize++;
- entries++;
+ targetsize += (g->special - 1);
+ entries += (g->special - 1);
}
uint8 *buffer = new uint8[targetsize];
@@ -358,7 +358,8 @@
// Write one empty string into intro strings file
if (fmtPatch == 2) {
if ((g->special == kFMTownsVersionE && input - data == 0x260) ||
- (g->special == kFMTownsVersionJ && input - data == 0x265))
+ (g->special == kFMTownsVersionJ && input - data == 0x2BD) ||
+ (g->special == kFMTownsVersionJ && input - data == 0x2BE))
*output++ = *input;
}
@@ -709,3 +710,4 @@
return 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