Part of Slepp's ProjectsPastebinTURLImagebinFilebin
Feedback -- English French German Japanese
Create Upload Newest Tools Donate


Tuesday, October 9th, 2007 at 6:32:27pm UTC 

  1. Index: apps/plugins/doom/rockdoom.c
  2. ===================================================================
  3. --- apps/plugins/doom/rockdoom.c        (révision 15047)
  4. +++ apps/plugins/doom/rockdoom.c        (copie de travail)
  5. @@ -755,7 +755,11 @@
  6.     printf("There were still: %d files open\n", fpoint);
  7.     while(fpoint>0)
  8.     {
  9. +#ifdef SIMULATOR
  10. +      close(filearray[fpoint]);
  11. +#else
  12.        rb->close(filearray[fpoint]);
  13. +#endif
  14.        fpoint--;
  15.     }
  17. Index: apps/plugins/doom/rockmacros.h
  18. ===================================================================
  19. --- apps/plugins/doom/rockmacros.h      (révision 15047)
  20. +++ apps/plugins/doom/rockmacros.h      (copie de travail)
  21. @@ -41,11 +41,13 @@
  23.  #ifdef SIMULATOR
  24.  #undef open
  25. +#undef close
  26.  #undef lseek
  27.  #undef filesize
  28.  #undef read
  29.  #undef write
  30.  #define open(a,b)          rb->sim_open((a),(b))
  31. +#define close(a)           rb->sim_close((a))
  32.  #define lseek(a,b,c)       rb->sim_lseek((a),(b),(c))
  33.  #define filesize(a)        rb->sim_filesize((a))
  34.  #define read(a,b,c)        rb->sim_read((a),(b),(c))


Update the Post

Either update this post and resubmit it with changes, or make a new post.

You may also comment on this post.

update paste below
details of the post (optional)

Note: Only the paste content is required, though the following information can be useful to others.

Save name / title?

(space separated, optional)

Please note that information posted here will not expire by default. If you do not want it to expire, please set the expiry time above. If it is set to expire, web search engines will not be allowed to index it prior to it expiring. Items that are not marked to expire will be indexable by search engines. Be careful with your passwords. All illegal activities will be reported and any information will be handed over to the authorities, so be good.

comments powered by Disqus
worth-right worth-right