summaryrefslogtreecommitdiff
path: root/Xenogears/Decrypt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Xenogears/Decrypt.cpp')
-rw-r--r--Xenogears/Decrypt.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/Xenogears/Decrypt.cpp b/Xenogears/Decrypt.cpp
index 76289e2..5f606a7 100644
--- a/Xenogears/Decrypt.cpp
+++ b/Xenogears/Decrypt.cpp
@@ -1,6 +1,8 @@
#include<stdio.h>
#include<string.h>
+#include "Main.h"
+CODE_BEGINS
void init_table(long table[5000])
{
long i;
@@ -467,7 +469,7 @@ int decrypt(FILE * f_source, FILE * f_cible, int room_number)
return (0);
}
-int main(void)
+int startup(void) throw (GeneralException)
{
int i;
char file_name[100];
@@ -501,4 +503,7 @@ int main(void)
fclose(f_cible);
}
}
+
+ return 0;
}
+CODE_ENDS