From 952b4ecc6753e07d4009bf31da27e77e71f3f6c4 Mon Sep 17 00:00:00 2001 From: Vas Crabb Date: Mon, 2 Jan 2023 17:56:50 +1100 Subject: emu/romentry.h: Got rid of long-obsolete ROMENTRYTYPE_CARTRIDGE, and improved comments on ROM entry type constants. --- src/emu/romentry.h | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/src/emu/romentry.h b/src/emu/romentry.h index ff73e432c65..2a315c2a03e 100644 --- a/src/emu/romentry.h +++ b/src/emu/romentry.h @@ -29,18 +29,17 @@ CONSTANTS #define ROMENTRY_TYPEMASK 0x0000000f /* type of entry */ enum { - ROMENTRYTYPE_ROM = 0, /* this entry is an actual ROM definition */ - ROMENTRYTYPE_REGION, /* this entry marks the start of a region */ - ROMENTRYTYPE_END, /* this entry marks the end of a region */ - ROMENTRYTYPE_RELOAD, /* this entry reloads the previous ROM */ - ROMENTRYTYPE_CONTINUE, /* this entry continues loading the previous ROM */ - ROMENTRYTYPE_FILL, /* this entry fills an area with a constant value */ - ROMENTRYTYPE_COPY, /* this entry copies data from another region/offset */ - ROMENTRYTYPE_CARTRIDGE, /* this entry specifies a cartridge (MESS) */ - ROMENTRYTYPE_IGNORE, /* this entry continues loading the previous ROM but throws the data away */ - ROMENTRYTYPE_SYSTEM_BIOS, /* this entry specifies a bios */ - ROMENTRYTYPE_DEFAULT_BIOS, /* this entry specifies a default bios */ - ROMENTRYTYPE_PARAMETER, /* this entry specifies a per-game parameter */ + ROMENTRYTYPE_ROM = 0, // starts loading a ROM file + ROMENTRYTYPE_REGION, // starts a new ROM region + ROMENTRYTYPE_END, // sentinel marking the end of a ROM definition + ROMENTRYTYPE_RELOAD, // starts loading the current ROM file from the beginning again + ROMENTRYTYPE_CONTINUE, // continues loading the current ROM file at a different offset + ROMENTRYTYPE_FILL, // fills an area with a constant value + ROMENTRYTYPE_COPY, // copies data from another region/offset + ROMENTRYTYPE_IGNORE, // ignores a portion of the current ROM file + ROMENTRYTYPE_SYSTEM_BIOS, // specifies a BIOS option + ROMENTRYTYPE_DEFAULT_BIOS, // specifies the default BIOS option + ROMENTRYTYPE_PARAMETER, // specifies a per-game parameter ROMENTRYTYPE_COUNT }; -- cgit v1.2.3