diff options
Diffstat (limited to 'apps/plugins/doom/rockdoom.c')
-rw-r--r-- | apps/plugins/doom/rockdoom.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/doom/rockdoom.c b/apps/plugins/doom/rockdoom.c index 104d3227f6..c0ff83e9a6 100644 --- a/apps/plugins/doom/rockdoom.c +++ b/apps/plugins/doom/rockdoom.c | |||
@@ -755,7 +755,11 @@ enum plugin_status plugin_start(struct plugin_api* api, void* parameter) | |||
755 | printf("There were still: %d files open\n", fpoint); | 755 | printf("There were still: %d files open\n", fpoint); |
756 | while(fpoint>0) | 756 | while(fpoint>0) |
757 | { | 757 | { |
758 | #ifdef SIMULATOR | ||
759 | close(filearray[fpoint]); | ||
760 | #else | ||
758 | rb->close(filearray[fpoint]); | 761 | rb->close(filearray[fpoint]); |
762 | #endif | ||
759 | fpoint--; | 763 | fpoint--; |
760 | } | 764 | } |
761 | 765 | ||