mirror of
https://github.com/libretro/RetroArch
synced 2025-04-07 13:23:32 +00:00
(RMenu) Adjust amount of characters to consider as 'max' for ticker
for Xbox 1
This commit is contained in:
parent
84ed664fd1
commit
26acc84596
@ -116,8 +116,12 @@ int rarch_main(int argc, char *argv[])
|
|||||||
// Save new libretro core path to config file and exit
|
// Save new libretro core path to config file and exit
|
||||||
if (path_file_exists(core_exe_path))
|
if (path_file_exists(core_exe_path))
|
||||||
if (libretro_install_core(path_prefix, 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;
|
g_extern.system.shutdown = true;
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef GEKKO
|
#ifdef GEKKO
|
||||||
/* Per-core input config loading */
|
/* Per-core input config loading */
|
||||||
|
@ -101,6 +101,12 @@ const char drive_mappings[][32] = {
|
|||||||
#endif
|
#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__
|
#if defined__CELLOS_LV2__
|
||||||
size_t drive_mapping_idx = 1;
|
size_t drive_mapping_idx = 1;
|
||||||
#elif defined(_XBOX1)
|
#elif defined(_XBOX1)
|
||||||
@ -2245,7 +2251,7 @@ static int select_setting(void *data, uint64_t input)
|
|||||||
}
|
}
|
||||||
|
|
||||||
char setting_text_buf[256];
|
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))
|
if (!(j < NUM_ENTRY_PER_PAGE))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user