From 0c4e658f8425a570d0d4d68cd046d05f41b81225 Mon Sep 17 00:00:00 2001 From: Michael Stummvoll Date: Wed, 24 Nov 2010 16:44:10 +0000 Subject: Rockboy: Changed the time of showing splash messages to 0 to decrase loading time. now the messages will only shown as long as needed. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28660 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/loader.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'apps') diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c index e92b7d0a7e..32ec7f95c4 100644 --- a/apps/plugins/rockboy/loader.c +++ b/apps/plugins/rockboy/loader.c @@ -229,11 +229,11 @@ static int sram_load(void) ram.loaded = 1; fd = open(sramfile, O_RDONLY); - snprintf(meow,499,"Opening %s %d",sramfile,fd); - rb->splash(HZ*2, meow); + snprintf(meow,499,"Opening %s",sramfile); + rb->splash(0, meow); if (fd<0) return -1; snprintf(meow,499,"Loading savedata from %s",sramfile); - rb->splash(HZ*2, meow); + rb->splash(0, meow); read(fd,ram.sbank, 8192*mbc.ramsize); close(fd); @@ -252,7 +252,7 @@ static int sram_save(void) fd = open(sramfile, O_WRONLY|O_CREAT|O_TRUNC, 0666); if (fd<0) return -1; snprintf(meow,499,"Saving savedata to %s",sramfile); - rb->splash(HZ*2, meow); + rb->splash(0, meow); write(fd,ram.sbank, 8192*mbc.ramsize); close(fd); @@ -289,7 +289,7 @@ void loader_init(const char *s) romfile = s; if(rom_load()) return; - rb->splash(HZ/2, rom.name); + rb->splash(0, rom.name); snprintf(saveprefix, 499, "%s/%s", savedir, rom.name); -- cgit v1.2.3