aboutsummaryrefslogtreecommitdiff
path: root/tools/create_kyradat/extract.cpp
diff options
context:
space:
mode:
authorJohannes Schickel2009-09-17 02:27:12 +0000
committerJohannes Schickel2009-09-17 02:27:12 +0000
commit0a8774a4467610916d4b84e5744ef431c8ec1eb2 (patch)
treeba2ba85445cec5fafe9f3c3a93eb23e037c7a2e0 /tools/create_kyradat/extract.cpp
parentf440a2bcd922e91c5bd1fb2eee6933c5a33390f3 (diff)
downloadscummvm-rg350-0a8774a4467610916d4b84e5744ef431c8ec1eb2.tar.gz
scummvm-rg350-0a8774a4467610916d4b84e5744ef431c8ec1eb2.tar.bz2
scummvm-rg350-0a8774a4467610916d4b84e5744ef431c8ec1eb2.zip
- Augment detection tables as much as possible
- Change some extraction processing logic to work with the newly agumented tables svn-id: r44136
Diffstat (limited to 'tools/create_kyradat/extract.cpp')
-rw-r--r--tools/create_kyradat/extract.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/tools/create_kyradat/extract.cpp b/tools/create_kyradat/extract.cpp
index 1e27211d80..fdb7f9945e 100644
--- a/tools/create_kyradat/extract.cpp
+++ b/tools/create_kyradat/extract.cpp
@@ -210,7 +210,6 @@ bool extractStrings(PAKFile &out, const Game *g, const byte *data, const uint32
bool extractStrings10(PAKFile &out, const Game *g, const byte *data, const uint32 size, const char *filename, int id, int lang) {
const int strSize = 10;
uint32 entries = (size + (strSize - 1)) / strSize;
- uint32 targetSize = 4;
uint8 *buffer = new uint8[size + 4];
assert(buffer);