summaryrefslogtreecommitdiff
path: root/apps/plugins/rockboy
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/rockboy')
-rw-r--r--apps/plugins/rockboy/cpu.c2
-rw-r--r--apps/plugins/rockboy/dynarec.c2
-rw-r--r--apps/plugins/rockboy/loader.c8
-rw-r--r--apps/plugins/rockboy/menu.c2
-rw-r--r--apps/plugins/rockboy/rockboy.c6
5 files changed, 10 insertions, 10 deletions
diff --git a/apps/plugins/rockboy/cpu.c b/apps/plugins/rockboy/cpu.c
index 00cfc42684..2bf9e90d2b 100644
--- a/apps/plugins/rockboy/cpu.c
+++ b/apps/plugins/rockboy/cpu.c
@@ -928,7 +928,7 @@ next:
928 byte *ptr=mbc.rmap[PC>>12]; 928 byte *ptr=mbc.rmap[PC>>12];
929 snprintf(meow,499,"PC: 0x%x 0x%x a: 0x%x\n", 929 snprintf(meow,499,"PC: 0x%x 0x%x a: 0x%x\n",
930 ptr,PC, b ? b->address.d : 0); 930 ptr,PC, b ? b->address.d : 0);
931 rb->splash(HZ*2,true,meow); 931 rb->splash(HZ*2,meow);
932 while(b&&b->address.d!=((unsigned int)(ptr)+PC)) 932 while(b&&b->address.d!=((unsigned int)(ptr)+PC))
933 { 933 {
934 p=b; 934 p=b;
diff --git a/apps/plugins/rockboy/dynarec.c b/apps/plugins/rockboy/dynarec.c
index 6ab1ec79b4..7c466de986 100644
--- a/apps/plugins/rockboy/dynarec.c
+++ b/apps/plugins/rockboy/dynarec.c
@@ -433,7 +433,7 @@ void dynamic_recompile (struct dynarec_block *newblock)
433 } 433 }
434#endif 434#endif
435 snprintf(meow,499,"Recompiling 0x%x",oldpc); 435 snprintf(meow,499,"Recompiling 0x%x",oldpc);
436 rb->splash(HZ*1,1,meow); 436 rb->splash(HZ*1,meow);
437 while(!done) 437 while(!done)
438 { 438 {
439#ifdef DYNA_DEBUG 439#ifdef DYNA_DEBUG
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
diff --git a/apps/plugins/rockboy/menu.c b/apps/plugins/rockboy/menu.c
index b49e480f41..abacd2c831 100644
--- a/apps/plugins/rockboy/menu.c
+++ b/apps/plugins/rockboy/menu.c
@@ -201,7 +201,7 @@ static bool do_file(char *path, char *desc, bool is_load) {
201 201
202 /* print out a status message so the user knows the state loaded */ 202 /* print out a status message so the user knows the state loaded */
203 snprintf(buf, 200, "Loaded state from \"%s\"", path); 203 snprintf(buf, 200, "Loaded state from \"%s\"", path);
204 rb->splash(HZ * 1, true, buf); 204 rb->splash(HZ * 1, buf);
205 } 205 }
206 else 206 else
207 { 207 {
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c
index 01e4de51c5..9b514a4978 100644
--- a/apps/plugins/rockboy/rockboy.c
+++ b/apps/plugins/rockboy/rockboy.c
@@ -194,7 +194,7 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
194 194
195 if (!parameter) 195 if (!parameter)
196 { 196 {
197 rb->splash(HZ*3, true, "Play gameboy ROM file! (.gb/.gbc)"); 197 rb->splash(HZ*3, "Play gameboy ROM file! (.gb/.gbc)");
198 return PLUGIN_OK; 198 return PLUGIN_OK;
199 } 199 }
200 200
@@ -223,11 +223,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter)
223 223
224 if(shut&&!cleanshut) 224 if(shut&&!cleanshut)
225 { 225 {
226 rb->splash(HZ/2, true, errormsg); 226 rb->splash(HZ/2, errormsg);
227 return PLUGIN_ERROR; 227 return PLUGIN_ERROR;
228 } 228 }
229 pcm_close(); 229 pcm_close();
230 rb->splash(HZ/2, true, "Shutting down"); 230 rb->splash(HZ/2, "Shutting down");
231 231
232 savesettings(); 232 savesettings();
233 233