Added device image type for individual ROM images (as used in some Amstrad CPC applications) (no whatsnew)

This commit is contained in:
mahlemiut 2012-05-07 12:12:57 +00:00
parent a50e8f5ca9
commit 462073ccf4
2 changed files with 4 additions and 1 deletions

View File

@ -50,6 +50,7 @@
//**************************************************************************
const image_device_type_info device_image_interface::m_device_info_array[] =
{
{ IO_UNKNOWN, "unknown", "unkn" },
{ IO_CARTSLOT, "cartridge", "cart" }, /* 0 */
{ IO_FLOPPY, "floppydisk", "flop" }, /* 1 */
{ IO_HARDDISK, "harddisk", "hard" }, /* 2 */
@ -65,6 +66,7 @@ const image_device_type_info device_image_interface::m_device_info_array[] =
{ IO_MEMCARD, "memcard", "memc" }, /* 12 */
{ IO_CDROM, "cdrom", "cdrm" }, /* 13 */
{ IO_MAGTAPE, "magtape", "magt" }, /* 14 */
{ IO_ROM, "romimage", "rom" }, /* 15 */
};

View File

@ -69,7 +69,8 @@ enum iodevice_t
IO_MEMCARD, /* 13 - Memory card */
IO_CDROM, /* 14 - optical CD-ROM disc */
IO_MAGTAPE, /* 15 - Magentic tape */
IO_COUNT /* 16 - Total Number of IO_devices for searching */
IO_ROM, /* 16 - Individual ROM image - the Amstrad CPC has a few applications that were sold on 16kB ROMs */
IO_COUNT /* 17 - Total Number of IO_devices for searching */
};
enum image_error_t