mirror of
https://github.com/holub/mame
synced 2025-07-06 18:39:28 +03:00
Cleanups again
This commit is contained in:
parent
272871986d
commit
486fbfa555
@ -139,7 +139,7 @@ private:
|
||||
const char * m_name; /* name of item */
|
||||
UINT64 m_explength; /* expected length of item */
|
||||
UINT64 m_length; /* actual length of item */
|
||||
hash_collection m_exphashes; /* expected hash data */
|
||||
hash_collection m_exphashes; /* expected hash data */
|
||||
hash_collection m_hashes; /* actual hash information */
|
||||
};
|
||||
|
||||
|
@ -1174,7 +1174,7 @@ void cli_frontend::execute_commands(const char *exename)
|
||||
{ CLICOMMAND_VERIFYROMS, &cli_frontend::verifyroms },
|
||||
{ CLICOMMAND_VERIFYSAMPLES, &cli_frontend::verifysamples },
|
||||
{ CLICOMMAND_LISTMEDIA, &cli_frontend::listmedia },
|
||||
// { CLICOMMAND_LISTSOFTWARE, &cli_frontend::listsoftware },
|
||||
// { CLICOMMAND_LISTSOFTWARE, &cli_frontend::listsoftware },
|
||||
{ CLICOMMAND_ROMIDENT, &cli_frontend::romident }
|
||||
};
|
||||
|
||||
|
@ -35,16 +35,16 @@ class upd96050_device;
|
||||
struct necdsp_interface
|
||||
{
|
||||
devcb_read_line m_in_int_func;
|
||||
//devcb_read8 m_in_si_func;
|
||||
//devcb_read_line m_in_sck_func;
|
||||
//devcb_read_line m_in_sien_func;
|
||||
//devcb_read_line m_in_soen_func;
|
||||
//devcb_read_line m_in_dack_func;
|
||||
//devcb_read8 m_in_si_func;
|
||||
//devcb_read_line m_in_sck_func;
|
||||
//devcb_read_line m_in_sien_func;
|
||||
//devcb_read_line m_in_soen_func;
|
||||
//devcb_read_line m_in_dack_func;
|
||||
devcb_write_line m_out_p0_func;
|
||||
devcb_write_line m_out_p1_func;
|
||||
//devcb_write8 m_out_so_func;
|
||||
//devcb_write_line m_out_sorq_func;
|
||||
//devcb_write_line m_out_drq_func;
|
||||
//devcb_write8 m_out_so_func;
|
||||
//devcb_write_line m_out_sorq_func;
|
||||
//devcb_write_line m_out_drq_func;
|
||||
};
|
||||
|
||||
#define NECDSP_INTERFACE(name) \
|
||||
@ -222,16 +222,16 @@ private:
|
||||
protected:
|
||||
// device callbacks
|
||||
devcb_resolved_read_line m_in_int_func;
|
||||
//devcb_resolved_read8 m_in_si_func;
|
||||
//devcb_resolved_read_line m_in_sck_func;
|
||||
//devcb_resolved_read_line m_in_sien_func;
|
||||
//devcb_resolved_read_line m_in_soen_func;
|
||||
//devcb_resolved_read_line m_in_dack_func;
|
||||
//devcb_resolved_read8 m_in_si_func;
|
||||
//devcb_resolved_read_line m_in_sck_func;
|
||||
//devcb_resolved_read_line m_in_sien_func;
|
||||
//devcb_resolved_read_line m_in_soen_func;
|
||||
//devcb_resolved_read_line m_in_dack_func;
|
||||
devcb_resolved_write_line m_out_p0_func;
|
||||
devcb_resolved_write_line m_out_p1_func;
|
||||
//devcb_resolved_write8 m_out_so_func;
|
||||
//devcb_resolved_write_line m_out_sorq_func;
|
||||
//devcb_resolved_write_line m_out_drq_func;
|
||||
//devcb_resolved_write8 m_out_so_func;
|
||||
//devcb_resolved_write_line m_out_sorq_func;
|
||||
//devcb_resolved_write_line m_out_drq_func;
|
||||
|
||||
const necdsp_device_config &m_config;
|
||||
};
|
||||
|
@ -432,7 +432,7 @@ protected:
|
||||
deferred_cast_func m_caster; // pointer to helper function that does the cast
|
||||
const char * m_name; // name string
|
||||
generic_static_func m_function; // generic static function pointer
|
||||
delegate_raw_mfp m_rawfunction; // copy of raw MFP
|
||||
delegate_raw_mfp m_rawfunction; // copy of raw MFP
|
||||
delegate_generic_class * m_object; // pointer to the post-cast object
|
||||
delegate_generic_class * m_callobject; // pointer to the object used for calling
|
||||
};
|
||||
|
@ -147,7 +147,7 @@ protected:
|
||||
|
||||
// internal state
|
||||
static int s_driver_count;
|
||||
static const game_driver * const s_drivers_sorted[];
|
||||
static const game_driver * const s_drivers_sorted[];
|
||||
};
|
||||
|
||||
|
||||
|
@ -156,7 +156,7 @@ static int write_config(emu_options &options, const char *filename, const game_d
|
||||
static void image_options_extract(running_machine &machine)
|
||||
{
|
||||
/* only extract the device options if we've added them
|
||||
no need to assert in case they are missing */
|
||||
no need to assert in case they are missing */
|
||||
{
|
||||
int index = 0;
|
||||
device_image_interface *image = NULL;
|
||||
|
@ -947,7 +947,7 @@ void driver_device_config_base::static_set_game(device_config *device, const gam
|
||||
|
||||
base->m_system = game;
|
||||
|
||||
// set the short name to the game's name
|
||||
// set the short name to the game's name
|
||||
base->m_shortname = game->name;
|
||||
|
||||
// and set the search path to include all parents
|
||||
|
@ -64,7 +64,7 @@ enum
|
||||
"images is a violation of copyright law and should be promptly reported to the\n" \
|
||||
"authors so that appropriate legal action can be taken.\n"
|
||||
#define USAGE "Usage: %s [%s] [options]"
|
||||
#define XML_ROOT "mame"
|
||||
#define XML_ROOT "mame"
|
||||
#define XML_TOP "game"
|
||||
#define STATE_MAGIC_NUM 'M', 'A', 'M', 'E', 'S', 'A', 'V', 'E'
|
||||
#else
|
||||
@ -91,7 +91,7 @@ enum
|
||||
"with these files is a violation of copyright law and should be promptly\n" \
|
||||
"reported to the authors so that appropriate legal action can be taken.\n"
|
||||
#define USAGE "Usage: %s [%s] [media] [software] [options]"
|
||||
#define XML_ROOT "mess"
|
||||
#define XML_ROOT "mess"
|
||||
#define XML_TOP "machine"
|
||||
#define STATE_MAGIC_NUM 'M', 'E', 'S', 'S', 'S', 'A', 'V', 'E'
|
||||
#endif
|
||||
|
@ -11,7 +11,7 @@ public:
|
||||
: driver_device(machine, config) { }
|
||||
|
||||
/* memory pointers */
|
||||
UINT8 m_videoram[0x1000];
|
||||
UINT8 m_videoram[0x1000];
|
||||
UINT8 m_workram[0x1000];
|
||||
|
||||
/* video-related */
|
||||
|
@ -48,7 +48,7 @@ public:
|
||||
|
||||
UINT16 *m_videoram;
|
||||
UINT16 *m_spriteram;
|
||||
// size_t m_spriteram_size;
|
||||
// size_t m_spriteram_size;
|
||||
UINT32 m_coin_word[2];
|
||||
UINT32 *m_f3_ram;
|
||||
int m_f3_game;
|
||||
|
Loading…
Reference in New Issue
Block a user