summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy/loader.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy/loader.c')
-rw-r--r--apps/plugins/rockboy/loader.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/apps/plugins/rockboy/loader.c b/apps/plugins/rockboy/loader.c
index 8166220c8e..1317362c2c 100644
--- a/apps/plugins/rockboy/loader.c
+++ b/apps/plugins/rockboy/loader.c
@@ -189,10 +189,10 @@ int sram_load(void)
189 189
190 fd = open(sramfile, O_RDONLY); 190 fd = open(sramfile, O_RDONLY);
191 snprintf(meow,499,"Opening %s %d",sramfile,fd); 191 snprintf(meow,499,"Opening %s %d",sramfile,fd);
192 rb->splash(HZ*2, true, meow); 192 rb->splash(HZ*2, meow);
193 if (fd<0) return -1; 193 if (fd<0) return -1;
194 snprintf(meow,499,"Loading savedata from %s",sramfile); 194 snprintf(meow,499,"Loading savedata from %s",sramfile);
195 rb->splash(HZ*2, true, meow); 195 rb->splash(HZ*2, meow);
196 read(fd,ram.sbank, 8192*mbc.ramsize); 196 read(fd,ram.sbank, 8192*mbc.ramsize);
197 close(fd); 197 close(fd);
198 198
@@ -211,7 +211,7 @@ int sram_save(void)
211 fd = open(sramfile, O_WRONLY|O_CREAT|O_TRUNC); 211 fd = open(sramfile, O_WRONLY|O_CREAT|O_TRUNC);
212 if (fd<0) return -1; 212 if (fd<0) return -1;
213 snprintf(meow,499,"Saving savedata to %s",sramfile); 213 snprintf(meow,499,"Saving savedata to %s",sramfile);
214 rb->splash(HZ*2, true, meow); 214 rb->splash(HZ*2, meow);
215 write(fd,ram.sbank, 8192*mbc.ramsize); 215 write(fd,ram.sbank, 8192*mbc.ramsize);
216 close(fd); 216 close(fd);
217 217
@@ -301,7 +301,7 @@ void loader_init(char *s)
301 romfile = s; 301 romfile = s;
302 if(rom_load()) 302 if(rom_load())
303 return; 303 return;
304 rb->splash(HZ/2, true, rom.name); 304 rb->splash(HZ/2, rom.name);
305 305
306 snprintf(saveprefix, 499, "%s/%s", savedir, rom.name); 306 snprintf(saveprefix, 499, "%s/%s", savedir, rom.name);
307 307