libmame
|
#include <libmame.h>
Public Attributes | |
const char * | name |
LibMame_ImageStatus | status |
int | is_optional |
int | size_if_known |
const char * | clone_of_game |
const char * | clone_of_rom |
const char * | crc |
const char * | sha1 |
const char * | md5 |
This structure defines a single image (ROM or HDD) that a game uses.
const char* LibMame_Image::clone_of_game |
If the game that this image is for is a clone of another game, and the image itself is shared with that game, rather than duplicated for this game, then this is the name of the cloned game and image as it exists in the cloned game. Note that the name of the game may be one that is not reported directly by libmame, as MAME calls some rom sets that hold only BIOS files "games" and libmame filters those out of the list of games that it presents.
If this value is zero, then this image is specific to this game and not shared with a parent game.
const char* LibMame_Image::clone_of_rom |
const char* LibMame_Image::crc |
If this is non-NULL, it provides a CRC value to be used to validate the image.
If this is nonzero, this image is optional for functioning of the game. If this is zero, this game is required for the game to run.
const char* LibMame_Image::md5 |
If this is non-NULL, it provides a MD5 hash value to be used to validate the image.
const char* LibMame_Image::name |
This is the name of the image.
const char* LibMame_Image::sha1 |
If this is non-NULL, it provides a SHA-1 hash value to be used to validate the image.
This is the exact size, in bytes, of the image, if known, or zero if not
This is the status of this ROM/HDD image, which indicates whether or not the image is "good" (true to the original), or "bad" (but the best available), or "no dump", which means that this structure identifies an image which is known to be needed by the game but is there is no good image available.