diff options
Diffstat (limited to 'apps')
-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 6c831d075f..a34fd7bf69 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) | |||
102 | /* if you are using a global api pointer, don't forget to copy it! | 102 | /* if you are using a global api pointer, don't forget to copy it! |
103 | otherwise you will get lovely "I04: IllInstr" errors... :-) */ | 103 | otherwise you will get lovely "I04: IllInstr" errors... :-) */ |
104 | rb = api; | 104 | rb = api; |
105 | |||
106 | if (!parameter) { | ||
107 | rb->splash(HZ*3, true, "Play gameboy ROM file! (.gb/.gbc)"); | ||
108 | return PLUGIN_OK; | ||
109 | } | ||
105 | #ifdef USE_IRAM | 110 | #ifdef USE_IRAM |
106 | memcpy(iramstart, iramcopy, iramend-iramstart); | 111 | memcpy(iramstart, iramcopy, iramend-iramstart); |
107 | #endif | 112 | #endif |
108 | shut=0; | 113 | shut=0; |
109 | cleanshut=0; | 114 | cleanshut=0; |