forked from len0rd/rockbox
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
This commit is contained in:
parent
fe706d2754
commit
1afa395c2f
18 changed files with 95 additions and 100 deletions
|
@ -525,7 +525,7 @@ void DoUserDialog(char* filename, bool show_greet)
|
|||
sector = rb->plugin_get_buffer(&memleft);
|
||||
if (memleft < SECTORSIZE) /* need buffer for a flash sector */
|
||||
{
|
||||
rb->splash(HZ*3, 0, true, "Out of memory");
|
||||
rb->splash(HZ*3, true, "Out of memory");
|
||||
return; /* exit */
|
||||
}
|
||||
|
||||
|
@ -537,12 +537,12 @@ void DoUserDialog(char* filename, bool show_greet)
|
|||
|
||||
if (FlashInfo.size == 0) /* no valid chip */
|
||||
{
|
||||
rb->splash(HZ*3, 0, true, "Not flashable");
|
||||
rb->splash(HZ*3, true, "Not flashable");
|
||||
return; /* exit */
|
||||
}
|
||||
else if (pos == 0)
|
||||
{
|
||||
rb->splash(HZ*3, 0, true, "No image");
|
||||
rb->splash(HZ*3, true, "No image");
|
||||
return; /* exit */
|
||||
}
|
||||
|
||||
|
@ -701,7 +701,7 @@ void DoUserDialog(char* filename, bool show_greet)
|
|||
sector = rb->plugin_get_buffer(&memleft);
|
||||
if (memleft < SECTORSIZE) /* need buffer for a flash sector */
|
||||
{
|
||||
rb->splash(HZ*3, 0, true, "Out of memory");
|
||||
rb->splash(HZ*3, true, "Out of memory");
|
||||
return; /* exit */
|
||||
}
|
||||
|
||||
|
@ -716,12 +716,12 @@ void DoUserDialog(char* filename, bool show_greet)
|
|||
|
||||
if (FlashInfo.size == 0) /* no valid chip */
|
||||
{
|
||||
rb->splash(HZ*3, 0, true, "Not flashable");
|
||||
rb->splash(HZ*3, true, "Not flashable");
|
||||
return; /* exit */
|
||||
}
|
||||
else if (pos == 0)
|
||||
{
|
||||
rb->splash(HZ*3, 0, true, "No image");
|
||||
rb->splash(HZ*3, true, "No image");
|
||||
return; /* exit */
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue