diff options
Diffstat (limited to 'mipspoke.cpp')
-rw-r--r-- | mipspoke.cpp | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/mipspoke.cpp b/mipspoke.cpp index e4551fb..ef956fd 100644 --- a/mipspoke.cpp +++ b/mipspoke.cpp @@ -1,30 +1,30 @@ -#include <Main.h> -#include <Input.h> - -#include "mips.h" -#include "mipsdis.h" -#include "mipsdump.h" - -CODE_BEGINS -virtual int startup(void) throw (GeneralException) { - mipsmem * mymips = new mipsmem(); - Handle * exe = new Input("psx.exe"); - Disassembler * dis = new Disassembler(mymips); - Dumper * dump = new Dumper(mymips); - - verbosity = M_INFO; - - mymips->LoadPSYQ(exe); - - dis->mainloop(); - delete dis; - - printm(M_STATUS, "Finished crawling, dumping...\n"); - - dump->process(); - - while (true); - - return 0; -} -CODE_ENDS +#include <Main.h>
+#include <Input.h>
+
+#include "mips.h"
+#include "mipsdis.h"
+#include "mipsdump.h"
+
+CODE_BEGINS
+virtual int startup(void) throw (GeneralException) {
+ mipsmem * mymips = new mipsmem();
+ Handle * exe = new Input("psx.exe");
+ Disassembler * dis = new Disassembler(mymips);
+ Dumper * dump = new Dumper(mymips);
+
+ verbosity = M_INFO;
+
+ mymips->LoadPSYQ(exe);
+
+ dis->mainloop();
+ delete dis;
+
+ printm(M_STATUS, "Finished crawling, dumping...\n");
+
+ dump->process();
+
+ while (true);
+
+ return 0;
+}
+CODE_ENDS
|