genesis.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /*
  2. genesis.h - Sega Genesis/Mega Drive support for uCON64
  3. Copyright (c) 1999 - 2001 NoisyB <noisyb@gmx.net>
  4. Copyright (c) 2002 - 2003 dbjh
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. */
  17. #ifndef GENESIS_H
  18. #define GENESIS_H
  19. typedef enum { SMD = 1, BIN, MGD_GEN } genesis_file_t;
  20. extern const st_getopt2_t genesis_usage[];
  21. extern genesis_file_t genesis_get_file_type (void);
  22. extern int genesis_1991 (st_rominfo_t *rominfo);
  23. extern int genesis_chk (st_rominfo_t *rominfo);
  24. extern int genesis_j (st_rominfo_t *rominfo);
  25. extern int genesis_n (st_rominfo_t *rominfo, const char *name);
  26. extern int genesis_n2 (st_rominfo_t *rominfo, const char *name);
  27. extern int genesis_s (st_rominfo_t *rominfo);
  28. extern int genesis_smd (st_rominfo_t *rominfo);
  29. extern int genesis_smds (void);
  30. extern int genesis_bin (st_rominfo_t *rominfo);
  31. extern int genesis_mgd (st_rominfo_t *rominfo);
  32. extern int genesis_multi (int truncate_size, char *fname);
  33. extern int genesis_init (st_rominfo_t *rominfo);
  34. extern int genesis_f (st_rominfo_t *rominfo);
  35. #endif