diff options
Diffstat (limited to 'apps/plugins')
| -rw-r--r-- | apps/plugins/rockboy/rockboy.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/apps/plugins/rockboy/rockboy.c b/apps/plugins/rockboy/rockboy.c index 6c831d0..a34fd7b 100644 --- a/apps/plugins/rockboy/rockboy.c +++ b/apps/plugins/rockboy/rockboy.c @@ -102,8 +102,13 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) /* if you are using a global api pointer, don't forget to copy it! otherwise you will get lovely "I04: IllInstr" errors... :-) */ rb = api; + + if (!parameter) { + rb->splash(HZ*3, true, "Play gameboy ROM file! (.gb/.gbc)"); + return PLUGIN_OK; + } #ifdef USE_IRAM - memcpy(iramstart, iramcopy, iramend-iramstart); + memcpy(iramstart, iramcopy, iramend-iramstart); #endif shut=0; cleanshut=0; |