summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
authorMichael Stummvoll <michael@stummi.org>2010-11-24 16:44:10 +0000
committerMichael Stummvoll <michael@stummi.org>2010-11-24 16:44:10 +0000
commit0c4e658f8425a570d0d4d68cd046d05f41b81225 (patch)
tree985f9017c1c0f47d01910329a180518c9e09feaf /apps/plugins/rockboy
parent05434ebaf8842330997bfea5cbe262f9b832ef6d (diff)
downloadrockbox-0c4e658f8425a570d0d4d68cd046d05f41b81225.zip
rockbox-0c4e658f8425a570d0d4d68cd046d05f41b81225.tar.gz
rockbox-0c4e658f8425a570d0d4d68cd046d05f41b81225.tar.bz2
rockbox-0c4e658f8425a570d0d4d68cd046d05f41b81225.tar.xz
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
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/loader.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c
index e92b7d0..32ec7f9 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);