From 4d6374c9236b93e0bd457f99944164fc493d1120 Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Fri, 16 Mar 2007 21:56:08 +0000 Subject: Get rid of the 'center' parameter for splashes. There were only 2 of almost 500 splashes which were not centered. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@12807 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/lib/overlay.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'apps/plugins/lib') diff --git a/apps/plugins/lib/overlay.c b/apps/plugins/lib/overlay.c index 91f08e23f0..edae36671f 100644 --- a/apps/plugins/lib/overlay.c +++ b/apps/plugins/lib/overlay.c @@ -54,7 +54,7 @@ enum plugin_status run_overlay(struct plugin_api* rb, void* parameter, fd = rb->open(filename, O_RDONLY); if (fd < 0) { - rb->splash(2*HZ, true, "Can't open %s", filename); + rb->splash(2*HZ, "Can't open %s", filename); return PLUGIN_ERROR; } readsize = rb->read(fd, &header, sizeof(header)); @@ -64,17 +64,17 @@ enum plugin_status run_overlay(struct plugin_api* rb, void* parameter, if (readsize != sizeof(header)) { - rb->splash(2*HZ, true, "Reading %s overlay failed.", name); + rb->splash(2*HZ, "Reading %s overlay failed.", name); return PLUGIN_ERROR; } if (header.magic != PLUGIN_MAGIC || header.target_id != TARGET_ID) { - rb->splash(2*HZ, true, "%s overlay: Incompatible model.", name); + rb->splash(2*HZ, "%s overlay: Incompatible model.", name); return PLUGIN_ERROR; } if (header.api_version != PLUGIN_API_VERSION) { - rb->splash(2*HZ, true, "%s overlay: Incompatible version.", name); + rb->splash(2*HZ, "%s overlay: Incompatible version.", name); return PLUGIN_ERROR; } @@ -82,14 +82,14 @@ enum plugin_status run_overlay(struct plugin_api* rb, void* parameter, if (header.load_addr < audiobuf || header.end_addr > audiobuf + audiobuf_size) { - rb->splash(2*HZ, true, "%s overlay doesn't fit into memory.", name); + rb->splash(2*HZ, "%s overlay doesn't fit into memory.", name); return PLUGIN_ERROR; } fd = rb->open(filename, O_RDONLY); if (fd < 0) { - rb->splash(2*HZ, true, "Can't open %s", filename); + rb->splash(2*HZ, "Can't open %s", filename); return PLUGIN_ERROR; } readsize = rb->read(fd, header.load_addr, header.end_addr - header.load_addr); @@ -97,7 +97,7 @@ enum plugin_status run_overlay(struct plugin_api* rb, void* parameter, if (readsize < 0) { - rb->splash(2*HZ, true, "Reading %s overlay failed.", name); + rb->splash(2*HZ, "Reading %s overlay failed.", name); return PLUGIN_ERROR; } /* Zero out bss area */ -- cgit v1.2.3