Added XBOX include

This commit is contained in:
yoshihiropsp 2010-03-26 15:37:25 +00:00
parent 855be2fac3
commit 5910c2f198
1 changed files with 7 additions and 1 deletions

View File

@ -30,8 +30,12 @@
//temporary hack until we have better error reporting facilities //temporary hack until we have better error reporting facilities
#ifdef _MSC_VER #ifdef _MSC_VER
#ifdef _XBOX
#include <xtl.h>
#else
#include <windows.h> #include <windows.h>
#endif #endif
#endif
#define FW_CMD_READ 0x3 #define FW_CMD_READ 0x3
#define FW_CMD_WRITEDISABLE 0x4 #define FW_CMD_WRITEDISABLE 0x4
@ -350,9 +354,11 @@ void BackupDevice::reset_command()
case 0: case 0:
case 1: case 1:
printf("Catastrophic error while autodetecting save type.\nIt will need to be specified manually\n"); printf("Catastrophic error while autodetecting save type.\nIt will need to be specified manually\n");
#ifdef _MSC_VER #ifdef _MSC_VER
#ifndef _XBOX
MessageBox(0,"Catastrophic Error Code: Camel;\nyour save type has not been autodetected correctly;\nplease report to developers",0,0); MessageBox(0,"Catastrophic Error Code: Camel;\nyour save type has not been autodetected correctly;\nplease report to developers",0,0);
#endif #endif
#endif
addr_size = 1; //choose 1 just to keep the busted savefile from growing too big addr_size = 1; //choose 1 just to keep the busted savefile from growing too big
break; break;
case 2: case 2: