(360) benhmark.c works on 360 now too

This commit is contained in:
twinaphex 2012-10-01 22:25:13 +02:00
parent 9c462e19b7
commit b9a426a954
2 changed files with 4 additions and 2 deletions

View File

@ -20,11 +20,13 @@
#ifndef _PPU_INTRINSICS_H
#include <ppu_intrinsics.h>
#endif
#elif defined(_XBOX360)
#include <PPCIntrinsics.h>
#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;

View File

@ -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