mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Restrict the width of some displayed messages (fixes display on Minis and Nano).
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11782 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
98fa14bfd1
commit
0025a97b95
1 changed files with 7 additions and 0 deletions
|
@ -298,8 +298,15 @@ void fatal_error(void)
|
||||||
{
|
{
|
||||||
bool holdstatus=false;
|
bool holdstatus=false;
|
||||||
|
|
||||||
|
/* System font is 6 pixels wide */
|
||||||
|
#if LCD_WIDTH >= (30*6)
|
||||||
lcd_puts(0, line++, "Press MENU+SELECT to reboot");
|
lcd_puts(0, line++, "Press MENU+SELECT to reboot");
|
||||||
lcd_puts(0, line++, "then SELECT+PLAY for disk mode");
|
lcd_puts(0, line++, "then SELECT+PLAY for disk mode");
|
||||||
|
#else
|
||||||
|
lcd_puts(0, line++, "Press MENU+SELECT to");
|
||||||
|
lcd_puts(0, line++, "reboot then SELECT+PLAY");
|
||||||
|
lcd_puts(0, line++, "for disk mode");
|
||||||
|
#endif
|
||||||
lcd_update();
|
lcd_update();
|
||||||
|
|
||||||
while (1) {
|
while (1) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue