diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-01-08 09:58:58 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-01-08 09:58:58 +0000 |
commit | 1afa395c2fe08ed937dbb0624ade48e46be87efe (patch) | |
tree | 621bd3dcf4c1250790f6cf414645d36611684b79 /apps/plugins/rockbox_flash.c | |
parent | fe706d2754220794d6a22370424391e146b75c95 (diff) | |
download | rockbox-1afa395c2fe08ed937dbb0624ade48e46be87efe.tar.gz rockbox-1afa395c2fe08ed937dbb0624ade48e46be87efe.zip |
The splash() function's second argument (keymask) is now removed, as it
was not used by any code.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@4201 a1c6a512-1295-4272-9138-f99709370657
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 | ||