1
0
Fork 0
forked from len0rd/rockbox

Removed annoying splash

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15746 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Björn Stenberg 2007-11-21 23:36:30 +00:00
parent 8405fc9eee
commit e2e287d80e

View file

@ -1086,17 +1086,12 @@ static void viewer_load_settings(void) /* same name as global, but not the same
/* read settings file */
settings_fd=rb->open(SETTINGS_FILE, O_RDONLY);
if ((settings_fd < 0) || (rb->filesize(settings_fd) != sizeof(struct preferences)))
{
rb->splash(HZ*2, "No Valid Settings File");
}
else
if (settings_fd && (rb->filesize(settings_fd) == sizeof(struct preferences)))
{
rb->read(settings_fd, &prefs, sizeof(struct preferences));
rb->close(settings_fd);
}
rb->memcpy(&old_prefs, &prefs, sizeof(struct preferences));
}
data = (struct bookmark_file_data*)buffer; /* grab the text buffer */
data->bookmarked_files_count = 0;