summaryrefslogtreecommitdiff
path: root/Xenogears
diff options
context:
space:
mode:
Diffstat (limited to 'Xenogears')
-rwxr-xr-xXenogears/Makefile10
-rw-r--r--Xenogears/script-comp.cpp4
-rw-r--r--Xenogears/test-dlzss.cpp (renamed from Xenogears/test-dlz77.cpp)4
-rw-r--r--Xenogears/test-lzss.cpp (renamed from Xenogears/test-lz77.cpp)4
4 files changed, 11 insertions, 11 deletions
diff --git a/Xenogears/Makefile b/Xenogears/Makefile
index 14c48ff..7bb9299 100755
--- a/Xenogears/Makefile
+++ b/Xenogears/Makefile
@@ -3,15 +3,15 @@
CPPFLAGS=-Wall -g -I. -O3 -mcpu=i686
CXX=g++
-TARGET = lz77 dlz77 yazedc cd-tool reinsert
+TARGET = lzss dlzss yazedc cd-tool reinsert
all: ${TARGET}
-lz77: lz77.cpp lz77.h generic.cpp generic.h fileutils.h fileutils.cpp
- ${CXX} ${CPPFLAGS} ${LDFLAGS} -DLZ77_MAIN lz77.cpp generic.cpp fileutils.cpp -o lz77
+lzss: lzss.cpp lzss.h generic.cpp generic.h fileutils.h fileutils.cpp
+ ${CXX} ${CPPFLAGS} ${LDFLAGS} -Dlzss_MAIN lzss.cpp generic.cpp fileutils.cpp -o lzss
-dlz77: lz77
- ln -fs lz77 dlz77
+dlzss: lzss
+ ln -fs lzss dlzss
yazedc: yazedc.cpp crctables crctable.out
${CXX} ${CPPFLAGS} ${LDFLAGS} yazedc.cpp -DMAIN -o yazedc
diff --git a/Xenogears/script-comp.cpp b/Xenogears/script-comp.cpp
index 96645df..d01a13f 100644
--- a/Xenogears/script-comp.cpp
+++ b/Xenogears/script-comp.cpp
@@ -1,6 +1,6 @@
#include <stdio.h>
#include <stdlib.h>
-#include "lz77.h"
+#include "lzss.h"
#include "fileutils.h"
void process_one_file(int f, int d, int n) {
@@ -38,7 +38,7 @@ void process_one_file(int f, int d, int n) {
write(d, &true_length, 4);
lseek(d, 0, SEEK_END);
- lz77_comp(f_part, d, &delta);
+ lzss_comp(f_part, d, &delta);
close(f_part);
diff --git a/Xenogears/test-dlz77.cpp b/Xenogears/test-dlzss.cpp
index 98373a6..ecd0f7e 100644
--- a/Xenogears/test-dlz77.cpp
+++ b/Xenogears/test-dlzss.cpp
@@ -1,7 +1,7 @@
#include <stdio.h>
-#include "lz77.h"
+#include "lzss.h"
int main(void) {
- lz77_decomp(0, 1);
+ lzss_decomp(0, 1);
return 0;
}
diff --git a/Xenogears/test-lz77.cpp b/Xenogears/test-lzss.cpp
index 8efce98..0257e99 100644
--- a/Xenogears/test-lz77.cpp
+++ b/Xenogears/test-lzss.cpp
@@ -1,7 +1,7 @@
#include <stdio.h>
-#include "lz77.h"
+#include "lzss.h"
int main(void) {
- lz77_comp(0, 1);
+ lzss_comp(0, 1);
return 0;
}