(RMenu) Cleanups

This commit is contained in:
twinaphex 2013-10-06 23:40:09 +02:00
parent c052b2fb9c
commit cd12474eed

View File

@ -56,33 +56,31 @@ struct texture_image *menu_texture;
struct texture_image *menu_panel; struct texture_image *menu_panel;
#endif #endif
const char drive_mappings[][32] = {
#if defined(_XBOX1) #if defined(_XBOX1)
"C:", const char drive_mappings[][32] = {
"D:", "C:\\",
"E:", "D:\\",
"F:", "E:\\",
"G:" "F:\\",
"G:\\"
};
size_t drive_mapping_idx = 2;
#define TICKER_LABEL_CHARS_MAX_PER_LINE 16
#elif defined(__CELLOS_LV2__) #elif defined(__CELLOS_LV2__)
const char drive_mappings[][32] = {
"/app_home/", "/app_home/",
"/dev_hdd0/", "/dev_hdd0/",
"/dev_hdd1/", "/dev_hdd1/",
"/host_root/" "/host_root/"
#endif
}; };
#if defined(_XBOX1)
#define TICKER_LABEL_CHARS_MAX_PER_LINE 16
#else
#define TICKER_LABEL_CHARS_MAX_PER_LINE 25
#endif
#if defined__CELLOS_LV2__
size_t drive_mapping_idx = 1; size_t drive_mapping_idx = 1;
#elif defined(_XBOX1)
size_t drive_mapping_idx = 2; #define TICKER_LABEL_CHARS_MAX_PER_LINE 25
#else
size_t drive_mapping_idx = 0;
#endif #endif
static const char *menu_drive_mapping_previous(void) static const char *menu_drive_mapping_previous(void)