aboutsummaryrefslogtreecommitdiff
path: root/engines/zvision/utility.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/zvision/utility.cpp')
-rw-r--r--engines/zvision/utility.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/zvision/utility.cpp b/engines/zvision/utility.cpp
index d973cb2f4c..1d96b33021 100644
--- a/engines/zvision/utility.cpp
+++ b/engines/zvision/utility.cpp
@@ -39,7 +39,7 @@ void writeFileContentsToFile(const Common::String &sourceFile, const Common::Str
return;
}
- byte* buffer = new byte[f.size()];
+ byte *buffer = new byte[f.size()];
f.read(buffer, f.size());
Common::DumpFile dumpFile;
@@ -63,10 +63,10 @@ void trimCommentsAndWhiteSpace(Common::String *string) {
}
void tryToDumpLine(const Common::String &key,
- Common::String &line,
- Common::HashMap<Common::String, byte> *count,
- Common::HashMap<Common::String, bool> *fileAlreadyUsed,
- Common::DumpFile &output) {
+ Common::String &line,
+ Common::HashMap<Common::String, byte> *count,
+ Common::HashMap<Common::String, bool> *fileAlreadyUsed,
+ Common::DumpFile &output) {
const byte numberOfExamplesPerType = 8;
if ((*count)[key] < numberOfExamplesPerType && !(*fileAlreadyUsed)[key]) {
@@ -203,7 +203,7 @@ void convertRawToWav(const Common::String &inputFile, ZVision *engine, const Com
return;
Audio::AudioStream *audioStream = makeRawZorkStream(inputFile, engine);
-
+
Common::DumpFile output;
output.open(outputFile);