summaryrefslogtreecommitdiff
path: root/Xenogears/script-dec.cpp
diff options
context:
space:
mode:
authorPixel <Pixel>2002-06-17 22:10:54 +0000
committerPixel <Pixel>2002-06-17 22:10:54 +0000
commit9781e04e02b868f7b3211ef642fcacb1eb1d9098 (patch)
tree293cba967adbb56b138910cc7f80f00cf7547705 /Xenogears/script-dec.cpp
parenta1816e86413195396000e33f86742960471f7369 (diff)
Some commit..
Diffstat (limited to 'Xenogears/script-dec.cpp')
-rw-r--r--Xenogears/script-dec.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/Xenogears/script-dec.cpp b/Xenogears/script-dec.cpp
index 9d4faf3..ff7b356 100644
--- a/Xenogears/script-dec.cpp
+++ b/Xenogears/script-dec.cpp
@@ -1,13 +1,14 @@
#include <stdio.h>
#include <stdlib.h>
-#include "lz77.h"
+#include <unistd.h>
+#include "lzss.h"
#include "fileutils.h"
-void process_one_file(int f, int d, int n) {
+void process_one_file(FILE * f, int d, int n) {
char nom_du_fichier[100];
long script_position, true_length;
int i;
- int f_out;
+ FILE * f_out;
if (filesize(f) == 24) return;