From 4a5e6ba6ba48ced51222dbda36a3d3dd99d75ec5 Mon Sep 17 00:00:00 2001 From: pixel Date: Fri, 5 Sep 2003 13:24:52 +0000 Subject: Added getopt code and fixed some more windows things. --- Xenogears/main_dump.cpp | 3 +-- Xenogears/nmakefile | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'Xenogears') diff --git a/Xenogears/main_dump.cpp b/Xenogears/main_dump.cpp index c39a9fe..65b7466 100644 --- a/Xenogears/main_dump.cpp +++ b/Xenogears/main_dump.cpp @@ -27,7 +27,6 @@ #include #include #include -#include #include "cdutils.h" #include "generic.h" #include "Input.h" @@ -113,7 +112,7 @@ virtual int startup() throw (GeneralException) printm(M_STATUS, "Entering files read sequence\n"); read_files(); - exit(0); + return 0; } /* diff --git a/Xenogears/nmakefile b/Xenogears/nmakefile index 3e3f4ad..2f62663 100644 --- a/Xenogears/nmakefile +++ b/Xenogears/nmakefile @@ -1,11 +1,11 @@ _CCFLAGS = /I ..\includes /I ..\generic\include /I ..\..\zlib -_LIBS = "..\MSVC\Baltisot - generic\Debug\Baltisot - generic.lib" ..\..\zlib\zlibdll.lib ..\..\zlib\zlibstat.lib +_LIBS = "..\MSVC\Baltisot - generic\Debug\Baltisot - generic.lib" "..\MSVC\PSX-Bundle - library\Debug\PSX-Bundle - library.lib" ..\..\zlib\zlibdll.lib ..\..\zlib\zlibstat.lib !include $(COMMONTOOLSPATH)\master.mak #------------------------------------------------------------------ -TARGETS = decrypt.exe +TARGETS = decrypt.exe main_dump.exe all : $(TARGETS) -- cgit v1.2.3