~ubuntu-branches/ubuntu/lucid/sdlmame/lucid

« back to all changes in this revision

Viewing changes to src/emu/romload.h

  • Committer: Bazaar Package Importer
  • Author(s): Cesare Falco
  • Date: 2009-11-03 17:10:15 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20091103171015-6hop4ory5lxnumpn
Tags: 0.135-0ubuntu1
* New upstream release - Closes (LP: #403212)
* debian/watch: unstable releases are no longer detected
* mame.ini: added the cheat subdirectories to cheatpath so zipped
  cheatfiles will be searched too
* renamed crsshair subdirectory to crosshair to reflect upstream change
* mame.ini: renamed references to crosshair subdirectory (see above)

Show diffs side-by-side

added added

removed removed

Lines of Context:
57
57
#define         ROMREGION_NOINVERT              0x00000000
58
58
#define         ROMREGION_INVERT                0x00000800
59
59
 
60
 
#define ROMREGION_DISPOSEMASK           0x00001000                      /* dispose of the region after init */
61
 
#define         ROMREGION_NODISPOSE             0x00000000
62
 
#define         ROMREGION_DISPOSE               0x00001000
63
 
 
64
60
#define ROMREGION_ERASEMASK                     0x00002000                      /* erase the region before loading */
65
61
#define         ROMREGION_NOERASE               0x00000000
66
62
#define         ROMREGION_ERASE                 0x00002000
169
165
#define ROMREGION_ISLITTLEENDIAN(r)     ((ROMREGION_GETFLAGS(r) & ROMREGION_ENDIANMASK) == ROMREGION_LE)
170
166
#define ROMREGION_ISBIGENDIAN(r)        ((ROMREGION_GETFLAGS(r) & ROMREGION_ENDIANMASK) == ROMREGION_BE)
171
167
#define ROMREGION_ISINVERTED(r)         ((ROMREGION_GETFLAGS(r) & ROMREGION_INVERTMASK) == ROMREGION_INVERT)
172
 
#define ROMREGION_ISDISPOSE(r)          ((ROMREGION_GETFLAGS(r) & ROMREGION_DISPOSEMASK) == ROMREGION_DISPOSE)
173
168
#define ROMREGION_ISERASE(r)            ((ROMREGION_GETFLAGS(r) & ROMREGION_ERASEMASK) == ROMREGION_ERASE)
174
169
#define ROMREGION_GETERASEVAL(r)        ((ROMREGION_GETFLAGS(r) & ROMREGION_ERASEVALMASK) >> 16)
175
170
#define ROMREGION_GETDATATYPE(r)        (ROMREGION_GETFLAGS(r) & ROMREGION_DATATYPEMASK)
281
276
void rom_init(running_machine *machine);
282
277
 
283
278
/* return the number of warnings we generated */
284
 
int rom_load_warnings(void);
 
279
int rom_load_warnings(running_machine *machine);
285
280
 
286
281
 
287
282
 
325
320
chd_error open_disk_image_options(core_options *options, const game_driver *gamedrv, const rom_entry *romp, mame_file **image_file, chd_file **image_chd);
326
321
 
327
322
/* return a pointer to the CHD file associated with the given region */
328
 
chd_file *get_disk_handle(const char *region);
 
323
chd_file *get_disk_handle(running_machine *machine, const char *region);
329
324
 
330
325
/* set a pointer to the CHD file associated with the given region */
331
326
void set_disk_handle(running_machine *machine, const char *region, mame_file *file, chd_file *chd);