diff --git a/benchmark.c b/benchmark.c index 3a7a6628c0..e310d9961a 100644 --- a/benchmark.c +++ b/benchmark.c @@ -20,11 +20,13 @@ #ifndef _PPU_INTRINSICS_H #include #endif +#elif defined(_XBOX360) +#include #endif unsigned long long rarch_get_performance_counter(void) { -#if defined(__CELLOS_LV2__) || defined(GEKKO) +#if defined(__CELLOS_LV2__) || defined(GEKKO) || defined(_XBOX360) unsigned long long time = __mftb(); #endif return time; diff --git a/console/griffin/griffin.c b/console/griffin/griffin.c index 463da8bcc4..c0d7d54d10 100644 --- a/console/griffin/griffin.c +++ b/console/griffin/griffin.c @@ -42,7 +42,7 @@ CONSOLE EXTENSIONS #include "../rarch_console_exec.c" #endif -#if defined(__CELLOS_LV2__) || defined(GEKKO) +#if defined(__CELLOS_LV2__) || defined(GEKKO) || defined(_XBOX360) #include "../../benchmark.c" #endif