summaryrefslogtreecommitdiff
path: root/Xenogears/script-dec.cpp
diff options
context:
space:
mode:
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;