summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/rockboy/loader.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c
index 32ec7f9..8741dab 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);