(RMenu) Adjust amount of characters to consider as 'max' for ticker

for Xbox 1
This commit is contained in:
twinaphex 2013-05-05 17:21:15 +02:00
parent 84ed664fd1
commit 26acc84596
2 changed files with 11 additions and 1 deletions

View File

@ -116,8 +116,12 @@ int rarch_main(int argc, char *argv[])
// Save new libretro core path to config file and exit
if (path_file_exists(core_exe_path))
if (libretro_install_core(path_prefix, core_exe_path))
#ifdef _XBOX1
g_extern.system.shutdown = g_extern.system.shutdown;
#else
g_extern.system.shutdown = true;
#endif
#endif
#ifdef GEKKO
/* Per-core input config loading */

View File

@ -101,6 +101,12 @@ const char drive_mappings[][32] = {
#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;
#elif defined(_XBOX1)
@ -2245,7 +2251,7 @@ static int select_setting(void *data, uint64_t input)
}
char setting_text_buf[256];
menu_ticker_line(setting_text_buf, 25, g_extern.frame_count / 15, setting_text);
menu_ticker_line(setting_text_buf, TICKER_LABEL_CHARS_MAX_PER_LINE, g_extern.frame_count / 15, setting_text);
if (!(j < NUM_ENTRY_PER_PAGE))
{