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/firmware_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/firmware_flash.c')
-rw-r--r-- | apps/plugins/firmware_flash.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/apps/plugins/firmware_flash.c b/apps/plugins/firmware_flash.c index c609f5ddad..c146b34544 100644 --- a/apps/plugins/firmware_flash.c +++ b/apps/plugins/firmware_flash.c | |||
@@ -611,7 +611,7 @@ void DoUserDialog(char* filename) | |||
611 | /* test if the user is running the correct plugin for this box */ | 611 | /* test if the user is running the correct plugin for this box */ |
612 | if (!CheckPlatform(PLATFORM_ID, *(UINT16*)(FB + VERSION_ADR))) | 612 | if (!CheckPlatform(PLATFORM_ID, *(UINT16*)(FB + VERSION_ADR))) |
613 | { | 613 | { |
614 | rb->splash(HZ*3, 0, true, "Wrong plugin"); | 614 | rb->splash(HZ*3, true, "Wrong plugin"); |
615 | return; /* exit */ | 615 | return; /* exit */ |
616 | } | 616 | } |
617 | 617 | ||
@@ -619,7 +619,7 @@ void DoUserDialog(char* filename) | |||
619 | result = CheckBootROM(); | 619 | result = CheckBootROM(); |
620 | if (result == eUnknown) | 620 | if (result == eUnknown) |
621 | { /* no support for any other yet */ | 621 | { /* no support for any other yet */ |
622 | rb->splash(HZ*3, 0, true, "Wrong boot ROM"); | 622 | rb->splash(HZ*3, true, "Wrong boot ROM"); |
623 | return; /* exit */ | 623 | return; /* exit */ |
624 | } | 624 | } |
625 | is_romless = (result == eROMless); | 625 | is_romless = (result == eROMless); |
@@ -640,7 +640,7 @@ void DoUserDialog(char* filename) | |||
640 | sector = rb->plugin_get_buffer(&memleft); | 640 | sector = rb->plugin_get_buffer(&memleft); |
641 | if (memleft < SEC_SIZE) /* need buffer for a flash sector */ | 641 | if (memleft < SEC_SIZE) /* need buffer for a flash sector */ |
642 | { | 642 | { |
643 | rb->splash(HZ*3, 0, true, "Out of memory"); | 643 | rb->splash(HZ*3, true, "Out of memory"); |
644 | return; /* exit */ | 644 | return; /* exit */ |
645 | } | 645 | } |
646 | 646 | ||
@@ -648,7 +648,7 @@ void DoUserDialog(char* filename) | |||
648 | ShowFlashInfo(&FlashInfo); | 648 | ShowFlashInfo(&FlashInfo); |
649 | if (FlashInfo.size == 0) /* no valid chip */ | 649 | if (FlashInfo.size == 0) /* no valid chip */ |
650 | { | 650 | { |
651 | rb->splash(HZ*3, 0, true, "Sorry!"); | 651 | rb->splash(HZ*3, true, "Sorry!"); |
652 | return; /* exit */ | 652 | return; /* exit */ |
653 | } | 653 | } |
654 | 654 | ||
@@ -832,7 +832,7 @@ void DoUserDialog(char* filename) | |||
832 | /* test if the user is running the correct plugin for this box */ | 832 | /* test if the user is running the correct plugin for this box */ |
833 | if (!CheckPlatform(PLATFORM_ID, *(UINT16*)(FB + VERSION_ADR))) | 833 | if (!CheckPlatform(PLATFORM_ID, *(UINT16*)(FB + VERSION_ADR))) |
834 | { | 834 | { |
835 | rb->splash(HZ*3, 0, true, "Wrong version"); | 835 | rb->splash(HZ*3, true, "Wrong version"); |
836 | return; /* exit */ | 836 | return; /* exit */ |
837 | } | 837 | } |
838 | 838 | ||
@@ -840,7 +840,7 @@ void DoUserDialog(char* filename) | |||
840 | result = CheckBootROM(); | 840 | result = CheckBootROM(); |
841 | if (result == eUnknown) | 841 | if (result == eUnknown) |
842 | { /* no support for any other yet */ | 842 | { /* no support for any other yet */ |
843 | rb->splash(HZ*3, 0, true, "Wrong boot ROM"); | 843 | rb->splash(HZ*3, true, "Wrong boot ROM"); |
844 | return; /* exit */ | 844 | return; /* exit */ |
845 | } | 845 | } |
846 | is_romless = (result == eROMless); | 846 | is_romless = (result == eROMless); |
@@ -861,7 +861,7 @@ void DoUserDialog(char* filename) | |||
861 | sector = rb->plugin_get_buffer(&memleft); | 861 | sector = rb->plugin_get_buffer(&memleft); |
862 | if (memleft < SEC_SIZE) /* need buffer for a flash sector */ | 862 | if (memleft < SEC_SIZE) /* need buffer for a flash sector */ |
863 | { | 863 | { |
864 | rb->splash(HZ*3, 0, true, "Out of memory"); | 864 | rb->splash(HZ*3, true, "Out of memory"); |
865 | return; /* exit */ | 865 | return; /* exit */ |
866 | } | 866 | } |
867 | 867 | ||