summaryrefslogtreecommitdiff
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
parent05434ebaf8842330997bfea5cbe262f9b832ef6d (diff)
downloadrockbox-0c4e658f8425a570d0d4d68cd046d05f41b81225.tar.gz
rockbox-0c4e658f8425a570d0d4d68cd046d05f41b81225.zip
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
-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 e92b7d0a7e..32ec7f95c4 100644
--- a/apps/plugins/rockboy/loader.c
+++ b/apps/plugins/rockboy/loader.c
@@ -229,11 +229,11 @@ static int sram_load(void)
229 ram.loaded = 1; 229 ram.loaded = 1;
230 230
231 fd = open(sramfile, O_RDONLY); 231 fd = open(sramfile, O_RDONLY);
232 snprintf(meow,499,"Opening %s %d",sramfile,fd); 232 snprintf(meow,499,"Opening %s",sramfile);
233 rb->splash(HZ*2, meow); 233 rb->splash(0, meow);
234 if (fd<0) return -1; 234 if (fd<0) return -1;
235 snprintf(meow,499,"Loading savedata from %s",sramfile); 235 snprintf(meow,499,"Loading savedata from %s",sramfile);
236 rb->splash(HZ*2, meow); 236 rb->splash(0, meow);
237 read(fd,ram.sbank, 8192*mbc.ramsize); 237 read(fd,ram.sbank, 8192*mbc.ramsize);
238 close(fd); 238 close(fd);
239 239
@@ -252,7 +252,7 @@ static int sram_save(void)
252 fd = open(sramfile, O_WRONLY|O_CREAT|O_TRUNC, 0666); 252 fd = open(sramfile, O_WRONLY|O_CREAT|O_TRUNC, 0666);
253 if (fd<0) return -1; 253 if (fd<0) return -1;
254 snprintf(meow,499,"Saving savedata to %s",sramfile); 254 snprintf(meow,499,"Saving savedata to %s",sramfile);
255 rb->splash(HZ*2, meow); 255 rb->splash(0, meow);
256 write(fd,ram.sbank, 8192*mbc.ramsize); 256 write(fd,ram.sbank, 8192*mbc.ramsize);
257 close(fd); 257 close(fd);
258 258
@@ -289,7 +289,7 @@ void loader_init(const char *s)
289 romfile = s; 289 romfile = s;
290 if(rom_load()) 290 if(rom_load())
291 return; 291 return;
292 rb->splash(HZ/2, rom.name); 292 rb->splash(0, rom.name);
293 293
294 snprintf(saveprefix, 499, "%s/%s", savedir, rom.name); 294 snprintf(saveprefix, 499, "%s/%s", savedir, rom.name);
295 295