TOLTECS: Rewrote ArchiveReader::dump() to use Common::DumpFile()
This commit is contained in:
parent
75842b031f
commit
3f78e1c8d9
1 changed files with 4 additions and 5 deletions
|
@ -77,11 +77,10 @@ void ArchiveReader::dump(uint resIndex, const char *prefix) {
|
||||||
read(data, resourceSize);
|
read(data, resourceSize);
|
||||||
closeResource();
|
closeResource();
|
||||||
|
|
||||||
#if 0
|
Common::DumpFile o;
|
||||||
FILE *o = fopen(fn, "wb");
|
o.open(fn);
|
||||||
fwrite(data, resourceSize, 1, o);
|
o.write(data, resourceSize);
|
||||||
fclose(o);
|
o.close();
|
||||||
#endif
|
|
||||||
|
|
||||||
delete[] data;
|
delete[] data;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue