move this stuff to where it belongs

This commit is contained in:
Glenn Maynard
2004-12-01 02:48:50 +00:00
parent fafdaedf0c
commit dcf0bb7ac8
2 changed files with 5 additions and 4 deletions
-4
View File
@@ -981,10 +981,6 @@ int main(int argc, char* argv[])
#if defined(XBOX)
int argc = 1;
char *argv[] = {"default.xbe"};
_set_new_handler(NoMemory);
_set_new_mode(1);
SetUnhandledExceptionFilter((LPTOP_LEVEL_EXCEPTION_FILTER) CheckPageFault);
#endif
g_argc = argc;
@@ -2,6 +2,7 @@
#include "ArchHooks_Xbox.h"
#include "dsound.h" // for timeGetTime
#include "archutils/Xbox/custom_launch_params.h" // for XGetCustomLaunchData
#include "archutils/Xbox/VirtualMemory.h"
#include <xtl.h> // for XNetStartup
@@ -111,6 +112,10 @@ void EnableExtraRAM()
ArchHooks_Xbox::ArchHooks_Xbox()
{
_set_new_handler(NoMemory);
_set_new_mode(1);
SetUnhandledExceptionFilter((LPTOP_LEVEL_EXCEPTION_FILTER) CheckPageFault);
XGetCustomLaunchData();
// mount A to DVD, C, E, F, G, X, and Y to the harddisk