diff options
Diffstat (limited to 'apps/plugins/rockbox_flash.c')
-rw-r--r-- | apps/plugins/rockbox_flash.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/apps/plugins/rockbox_flash.c b/apps/plugins/rockbox_flash.c index 9dc4b3a663..661203b8b8 100644 --- a/apps/plugins/rockbox_flash.c +++ b/apps/plugins/rockbox_flash.c | |||
@@ -525,7 +525,7 @@ void DoUserDialog(char* filename, bool show_greet) | |||
525 | sector = rb->plugin_get_buffer(&memleft); | 525 | sector = rb->plugin_get_buffer(&memleft); |
526 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ | 526 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ |
527 | { | 527 | { |
528 | rb->splash(HZ*3, 0, true, "Out of memory"); | 528 | rb->splash(HZ*3, true, "Out of memory"); |
529 | return; /* exit */ | 529 | return; /* exit */ |
530 | } | 530 | } |
531 | 531 | ||
@@ -537,12 +537,12 @@ void DoUserDialog(char* filename, bool show_greet) | |||
537 | 537 | ||
538 | if (FlashInfo.size == 0) /* no valid chip */ | 538 | if (FlashInfo.size == 0) /* no valid chip */ |
539 | { | 539 | { |
540 | rb->splash(HZ*3, 0, true, "Not flashable"); | 540 | rb->splash(HZ*3, true, "Not flashable"); |
541 | return; /* exit */ | 541 | return; /* exit */ |
542 | } | 542 | } |
543 | else if (pos == 0) | 543 | else if (pos == 0) |
544 | { | 544 | { |
545 | rb->splash(HZ*3, 0, true, "No image"); | 545 | rb->splash(HZ*3, true, "No image"); |
546 | return; /* exit */ | 546 | return; /* exit */ |
547 | } | 547 | } |
548 | 548 | ||
@@ -701,7 +701,7 @@ void DoUserDialog(char* filename, bool show_greet) | |||
701 | sector = rb->plugin_get_buffer(&memleft); | 701 | sector = rb->plugin_get_buffer(&memleft); |
702 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ | 702 | if (memleft < SECTORSIZE) /* need buffer for a flash sector */ |
703 | { | 703 | { |
704 | rb->splash(HZ*3, 0, true, "Out of memory"); | 704 | rb->splash(HZ*3, true, "Out of memory"); |
705 | return; /* exit */ | 705 | return; /* exit */ |
706 | } | 706 | } |
707 | 707 | ||
@@ -716,12 +716,12 @@ void DoUserDialog(char* filename, bool show_greet) | |||
716 | 716 | ||
717 | if (FlashInfo.size == 0) /* no valid chip */ | 717 | if (FlashInfo.size == 0) /* no valid chip */ |
718 | { | 718 | { |
719 | rb->splash(HZ*3, 0, true, "Not flashable"); | 719 | rb->splash(HZ*3, true, "Not flashable"); |
720 | return; /* exit */ | 720 | return; /* exit */ |
721 | } | 721 | } |
722 | else if (pos == 0) | 722 | else if (pos == 0) |
723 | { | 723 | { |
724 | rb->splash(HZ*3, 0, true, "No image"); | 724 | rb->splash(HZ*3, true, "No image"); |
725 | return; /* exit */ | 725 | return; /* exit */ |
726 | } | 726 | } |
727 | 727 | ||