Cleanups again

This commit is contained in:
Angelo Salese 2011-04-18 00:06:50 +00:00
parent 272871986d
commit 486fbfa555
26 changed files with 189 additions and 189 deletions

View File

@ -139,7 +139,7 @@ private:
const char * m_name; /* name of item */ const char * m_name; /* name of item */
UINT64 m_explength; /* expected length of item */ UINT64 m_explength; /* expected length of item */
UINT64 m_length; /* actual 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 */ hash_collection m_hashes; /* actual hash information */
}; };

View File

@ -1174,7 +1174,7 @@ void cli_frontend::execute_commands(const char *exename)
{ CLICOMMAND_VERIFYROMS, &cli_frontend::verifyroms }, { CLICOMMAND_VERIFYROMS, &cli_frontend::verifyroms },
{ CLICOMMAND_VERIFYSAMPLES, &cli_frontend::verifysamples }, { CLICOMMAND_VERIFYSAMPLES, &cli_frontend::verifysamples },
{ CLICOMMAND_LISTMEDIA, &cli_frontend::listmedia }, { CLICOMMAND_LISTMEDIA, &cli_frontend::listmedia },
// { CLICOMMAND_LISTSOFTWARE, &cli_frontend::listsoftware }, // { CLICOMMAND_LISTSOFTWARE, &cli_frontend::listsoftware },
{ CLICOMMAND_ROMIDENT, &cli_frontend::romident } { CLICOMMAND_ROMIDENT, &cli_frontend::romident }
}; };

View File

@ -35,16 +35,16 @@ class upd96050_device;
struct necdsp_interface struct necdsp_interface
{ {
devcb_read_line m_in_int_func; devcb_read_line m_in_int_func;
//devcb_read8 m_in_si_func; //devcb_read8 m_in_si_func;
//devcb_read_line m_in_sck_func; //devcb_read_line m_in_sck_func;
//devcb_read_line m_in_sien_func; //devcb_read_line m_in_sien_func;
//devcb_read_line m_in_soen_func; //devcb_read_line m_in_soen_func;
//devcb_read_line m_in_dack_func; //devcb_read_line m_in_dack_func;
devcb_write_line m_out_p0_func; devcb_write_line m_out_p0_func;
devcb_write_line m_out_p1_func; devcb_write_line m_out_p1_func;
//devcb_write8 m_out_so_func; //devcb_write8 m_out_so_func;
//devcb_write_line m_out_sorq_func; //devcb_write_line m_out_sorq_func;
//devcb_write_line m_out_drq_func; //devcb_write_line m_out_drq_func;
}; };
#define NECDSP_INTERFACE(name) \ #define NECDSP_INTERFACE(name) \
@ -222,16 +222,16 @@ private:
protected: protected:
// device callbacks // device callbacks
devcb_resolved_read_line m_in_int_func; devcb_resolved_read_line m_in_int_func;
//devcb_resolved_read8 m_in_si_func; //devcb_resolved_read8 m_in_si_func;
//devcb_resolved_read_line m_in_sck_func; //devcb_resolved_read_line m_in_sck_func;
//devcb_resolved_read_line m_in_sien_func; //devcb_resolved_read_line m_in_sien_func;
//devcb_resolved_read_line m_in_soen_func; //devcb_resolved_read_line m_in_soen_func;
//devcb_resolved_read_line m_in_dack_func; //devcb_resolved_read_line m_in_dack_func;
devcb_resolved_write_line m_out_p0_func; devcb_resolved_write_line m_out_p0_func;
devcb_resolved_write_line m_out_p1_func; devcb_resolved_write_line m_out_p1_func;
//devcb_resolved_write8 m_out_so_func; //devcb_resolved_write8 m_out_so_func;
//devcb_resolved_write_line m_out_sorq_func; //devcb_resolved_write_line m_out_sorq_func;
//devcb_resolved_write_line m_out_drq_func; //devcb_resolved_write_line m_out_drq_func;
const necdsp_device_config &m_config; const necdsp_device_config &m_config;
}; };

View File

@ -432,7 +432,7 @@ protected:
deferred_cast_func m_caster; // pointer to helper function that does the cast deferred_cast_func m_caster; // pointer to helper function that does the cast
const char * m_name; // name string const char * m_name; // name string
generic_static_func m_function; // generic static function pointer 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_object; // pointer to the post-cast object
delegate_generic_class * m_callobject; // pointer to the object used for calling delegate_generic_class * m_callobject; // pointer to the object used for calling
}; };

View File

@ -147,7 +147,7 @@ protected:
// internal state // internal state
static int s_driver_count; static int s_driver_count;
static const game_driver * const s_drivers_sorted[]; static const game_driver * const s_drivers_sorted[];
}; };

View File

@ -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) static void image_options_extract(running_machine &machine)
{ {
/* only extract the device options if we've added them /* 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; int index = 0;
device_image_interface *image = NULL; device_image_interface *image = NULL;

View File

@ -947,7 +947,7 @@ void driver_device_config_base::static_set_game(device_config *device, const gam
base->m_system = game; 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; base->m_shortname = game->name;
// and set the search path to include all parents // and set the search path to include all parents

View File

@ -64,7 +64,7 @@ enum
"images is a violation of copyright law and should be promptly reported to the\n" \ "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" "authors so that appropriate legal action can be taken.\n"
#define USAGE "Usage: %s [%s] [options]" #define USAGE "Usage: %s [%s] [options]"
#define XML_ROOT "mame" #define XML_ROOT "mame"
#define XML_TOP "game" #define XML_TOP "game"
#define STATE_MAGIC_NUM 'M', 'A', 'M', 'E', 'S', 'A', 'V', 'E' #define STATE_MAGIC_NUM 'M', 'A', 'M', 'E', 'S', 'A', 'V', 'E'
#else #else
@ -91,7 +91,7 @@ enum
"with these files is a violation of copyright law and should be promptly\n" \ "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" "reported to the authors so that appropriate legal action can be taken.\n"
#define USAGE "Usage: %s [%s] [media] [software] [options]" #define USAGE "Usage: %s [%s] [media] [software] [options]"
#define XML_ROOT "mess" #define XML_ROOT "mess"
#define XML_TOP "machine" #define XML_TOP "machine"
#define STATE_MAGIC_NUM 'M', 'E', 'S', 'S', 'S', 'A', 'V', 'E' #define STATE_MAGIC_NUM 'M', 'E', 'S', 'S', 'S', 'A', 'V', 'E'
#endif #endif

View File

@ -11,7 +11,7 @@ public:
: driver_device(machine, config) { } : driver_device(machine, config) { }
/* memory pointers */ /* memory pointers */
UINT8 m_videoram[0x1000]; UINT8 m_videoram[0x1000];
UINT8 m_workram[0x1000]; UINT8 m_workram[0x1000];
/* video-related */ /* video-related */

View File

@ -48,7 +48,7 @@ public:
UINT16 *m_videoram; UINT16 *m_videoram;
UINT16 *m_spriteram; UINT16 *m_spriteram;
// size_t m_spriteram_size; // size_t m_spriteram_size;
UINT32 m_coin_word[2]; UINT32 m_coin_word[2];
UINT32 *m_f3_ram; UINT32 *m_f3_ram;
int m_f3_game; int m_f3_game;