From 70bbbcdf92c880d8fd0ca84fa612ede7c7021c00 Mon Sep 17 00:00:00 2001 From: Michael Stummvoll Date: Wed, 24 Nov 2010 17:00:40 +0000 Subject: correction from previous commit. Completly removing the splashes is better git-svn-id: svn://svn.rockbox.org/rockbox/trunk@28661 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/rockboy/loader.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c index 32ec7f95c4..8741dabd12 100644 --- a/apps/plugins/rockboy/loader.c +++ b/apps/plugins/rockboy/loader.c @@ -221,7 +221,6 @@ static int rom_load(void) static int sram_load(void) { int fd; - char meow[500]; if (!mbc.batt || !*sramfile) return -1; @@ -229,11 +228,7 @@ static int sram_load(void) ram.loaded = 1; fd = open(sramfile, O_RDONLY); - 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(0, meow); read(fd,ram.sbank, 8192*mbc.ramsize); close(fd); @@ -244,15 +239,12 @@ static int sram_load(void) static int sram_save(void) { int fd; - char meow[500]; /* If we crash before we ever loaded sram, DO NOT SAVE! */ if (!mbc.batt || !ram.loaded || !mbc.ramsize) return -1; 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(0, meow); write(fd,ram.sbank, 8192*mbc.ramsize); close(fd); @@ -289,7 +281,6 @@ void loader_init(const char *s) romfile = s; if(rom_load()) return; - rb->splash(0, rom.name); snprintf(saveprefix, 499, "%s/%s", savedir, rom.name); -- cgit v1.2.3