From b9a426a95457d1c5a325b1c265f285a07d48348a Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 1 Oct 2012 22:25:13 +0200 Subject: [PATCH] (360) benhmark.c works on 360 now too --- benchmark.c | 4 +++- console/griffin/griffin.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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