summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
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 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