From d7d0ff2f23bd7d4eba5c85ca979a1fd3bf92e7d0 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Sat, 2 Nov 2013 04:40:51 +0100 Subject: [PATCH] Add PLATFORM_NAME strings to file_ext.h --- file_ext.h | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/file_ext.h b/file_ext.h index 54bfb79cf5..3ef4135e0f 100644 --- a/file_ext.h +++ b/file_ext.h @@ -29,19 +29,33 @@ #if defined(__CELLOS_LV2__) #define EXT_EXECUTABLES "self|SELF|bin|BIN" #define SALAMANDER_FILE "EBOOT.BIN" +#define PLATFORM_NAME "ps3" #define DEFAULT_EXE_EXT ".SELF" #elif defined(_XBOX1) #define EXT_EXECUTABLES "xbe|XBE" #define SALAMANDER_FILE "default.xbe" #define DEFAULT_EXE_EXT ".xbe" +#define PLATFORM_NAME "xdk1" #elif defined(_XBOX360) #define EXT_EXECUTABLES "xex|XEX" #define SALAMANDER_FILE "default.xex" #define DEFAULT_EXE_EXT ".xex" +#define PLATFORM_NAME "xdk360" #elif defined(GEKKO) #define EXT_EXECUTABLES "dol|DOL" #define SALAMANDER_FILE "boot.dol" #define DEFAULT_EXE_EXT ".dol" +#ifdef HW_RVL +#define PLATFORM_NAME "wii" +#else +#define PLATFORM_NAME "ngc" +#endif +#elif defined(ANDROID) +#define PLATFORM_NAME "android" +#elif defined(IOS) +#define PLATFORM_NAME "ios" +#elif defined(__QNX__) +#define PLATFORM_NAME "qnx" #elif defined(EMSCRIPTEN) #define EXT_EXECUTABLES "" #endif