[xbox] 360 support for Core

This commit is contained in:
Ced2911 2013-08-16 14:06:34 +02:00 committed by Unknown W. Brackets
parent 1e1a2fec8b
commit cc9f238d36
6 changed files with 20 additions and 2 deletions

View File

@ -20,7 +20,9 @@
#include "ext/vjson/json.h"
#include "file/ini_file.h"
#include "i18n/i18n.h"
#ifndef _XBOX
#include "gfx_es2/gpu_features.h"
#endif
#include "net/http_client.h"
#include "util/text/parsers.h"
#include "net/url.h"

View File

@ -31,7 +31,9 @@
#include "Core/MIPS/MIPS.h"
#ifdef _WIN32
#ifndef _XBOX
#include "Windows/OpenGLBase.h"
#endif
#include "Windows/InputDevice.h"
#endif

View File

@ -904,7 +904,7 @@ DataType SymbolMap::GetDataType(u32 startAddress) const {
return it->second.type;
}
#ifdef _WIN32
#if defined(_WIN32) && !defined(_XBOX)
struct DefaultSymbol {
u32 address;

View File

@ -17,7 +17,10 @@
#ifdef _WIN32
#include "Common/CommonWindows.h"
#ifndef _XBOX
// timeval already defined in xtl.h
#include <Winsock2.h>
#endif
#else
#include <sys/time.h>
#endif

View File

@ -31,9 +31,11 @@
#include "GPU/GPUState.h"
#include "GPU/GLES/Framebuffer.h"
#ifndef _XBOX
#include "net/http_client.h"
#include "net/resolve.h"
#include "net/url.h"
#endif
#include "base/buffer.h"
#include "thread/thread.h"
@ -42,6 +44,13 @@
#include <stdlib.h>
#include <cstdarg>
#ifdef _XBOX
namespace Reporting
{
bool IsEnabled() { return false;}
void ReportMessage(const char *message, ...) { }
}
#else
namespace Reporting
{
const int DEFAULT_PORT = 80;
@ -381,3 +390,5 @@ namespace Reporting
}
}
#endif

View File

@ -15,7 +15,7 @@
// Official git repository and contact information can be found at
// https://github.com/hrydgard/ppsspp and http://www.ppsspp.org/.
#ifdef _WIN32
#if defined(_WIN32) && !defined(_XBOX)
#include "Common/CommonWindows.h"
#include <ShlObj.h>
#include <string>