move this stuff to where it belongs
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user