mirror of
https://github.com/holub/mame
synced 2025-06-30 16:00:01 +03:00
Removed some unused variables (nw)
This commit is contained in:
parent
f98ff4629a
commit
8747487f9b
@ -752,7 +752,6 @@ void avr8_device::device_start()
|
|||||||
m_io = &space(AS_IO);
|
m_io = &space(AS_IO);
|
||||||
|
|
||||||
// register our state for the debugger
|
// register our state for the debugger
|
||||||
std::string tempstr;
|
|
||||||
state_add(STATE_GENPC, "GENPC", m_shifted_pc).noshow();
|
state_add(STATE_GENPC, "GENPC", m_shifted_pc).noshow();
|
||||||
state_add(STATE_GENFLAGS, "GENFLAGS", m_r[AVR8_REGIDX_SREG]).callimport().callexport().formatstr("%8s").noshow();
|
state_add(STATE_GENFLAGS, "GENFLAGS", m_r[AVR8_REGIDX_SREG]).callimport().callexport().formatstr("%8s").noshow();
|
||||||
state_add(AVR8_SREG, "STATUS", m_r[AVR8_REGIDX_SREG]).mask(0xff);
|
state_add(AVR8_SREG, "STATUS", m_r[AVR8_REGIDX_SREG]).mask(0xff);
|
||||||
|
@ -315,8 +315,6 @@ public:
|
|||||||
{
|
{
|
||||||
INT8 b;
|
INT8 b;
|
||||||
reg_id SD;
|
reg_id SD;
|
||||||
std::string args;
|
|
||||||
|
|
||||||
b = (char)(word0 & 0x00ff);
|
b = (char)(word0 & 0x00ff);
|
||||||
decode_HHH_table(BITSn(word1,0x0e00), SD);
|
decode_HHH_table(BITSn(word1,0x0e00), SD);
|
||||||
assemble_reg_from_W_table(BITSn(word1,0x0100), 'X', SD, b, m_source, m_destination);
|
assemble_reg_from_W_table(BITSn(word1,0x0100), 'X', SD, b, m_source, m_destination);
|
||||||
|
@ -1562,7 +1562,6 @@ void hyperstone_device::init(int scale_mask)
|
|||||||
m_clock_scale_mask = scale_mask;
|
m_clock_scale_mask = scale_mask;
|
||||||
|
|
||||||
// register our state for the debugger
|
// register our state for the debugger
|
||||||
std::string tempstr;
|
|
||||||
state_add(STATE_GENPC, "GENPC", m_global_regs[0]).noshow();
|
state_add(STATE_GENPC, "GENPC", m_global_regs[0]).noshow();
|
||||||
state_add(STATE_GENFLAGS, "GENFLAGS", m_global_regs[1]).callimport().callexport().formatstr("%40s").noshow();
|
state_add(STATE_GENFLAGS, "GENFLAGS", m_global_regs[1]).callimport().callexport().formatstr("%40s").noshow();
|
||||||
state_add(E132XS_PC, "PC", m_global_regs[0]).mask(0xffffffff);
|
state_add(E132XS_PC, "PC", m_global_regs[0]).mask(0xffffffff);
|
||||||
|
@ -193,7 +193,6 @@ void esrip_device::device_start()
|
|||||||
m_direct = &m_program->direct();
|
m_direct = &m_program->direct();
|
||||||
|
|
||||||
// register our state for the debugger
|
// register our state for the debugger
|
||||||
std::string tempstr;
|
|
||||||
state_add(STATE_GENPC, "GENPC", m_rip_pc).noshow();
|
state_add(STATE_GENPC, "GENPC", m_rip_pc).noshow();
|
||||||
state_add(STATE_GENFLAGS, "GENFLAGS", m_status).callimport().callexport().formatstr("%8s").noshow();
|
state_add(STATE_GENFLAGS, "GENFLAGS", m_status).callimport().callexport().formatstr("%8s").noshow();
|
||||||
state_add(ESRIP_PC, "PC:", m_rip_pc).mask(0xffff);
|
state_add(ESRIP_PC, "PC:", m_rip_pc).mask(0xffff);
|
||||||
|
@ -424,7 +424,6 @@ void m6805_base_device::device_start()
|
|||||||
m_icountptr = &m_icount;
|
m_icountptr = &m_icount;
|
||||||
|
|
||||||
// register our state for the debugger
|
// register our state for the debugger
|
||||||
std::string tempstr;
|
|
||||||
state_add(STATE_GENPC, "GENPC", m_pc.w.l).noshow();
|
state_add(STATE_GENPC, "GENPC", m_pc.w.l).noshow();
|
||||||
state_add(STATE_GENFLAGS, "GENFLAGS", m_cc).callimport().callexport().formatstr("%8s").noshow();
|
state_add(STATE_GENFLAGS, "GENFLAGS", m_cc).callimport().callexport().formatstr("%8s").noshow();
|
||||||
state_add(M6805_A, "A", m_a).mask(0xff);
|
state_add(M6805_A, "A", m_a).mask(0xff);
|
||||||
|
@ -100,7 +100,6 @@ void ssem_device::device_start()
|
|||||||
m_program = &space(AS_PROGRAM);
|
m_program = &space(AS_PROGRAM);
|
||||||
|
|
||||||
// register our state for the debugger
|
// register our state for the debugger
|
||||||
std::string tempstr;
|
|
||||||
state_add(STATE_GENPC, "GENPC", m_pc).noshow();
|
state_add(STATE_GENPC, "GENPC", m_pc).noshow();
|
||||||
state_add(STATE_GENFLAGS, "GENFLAGS", m_halt).callimport().callexport().formatstr("%1s").noshow();
|
state_add(STATE_GENFLAGS, "GENFLAGS", m_halt).callimport().callexport().formatstr("%1s").noshow();
|
||||||
state_add(SSEM_PC, "PC", m_shifted_pc).mask(0xffff);
|
state_add(SSEM_PC, "PC", m_shifted_pc).mask(0xffff);
|
||||||
|
@ -69,7 +69,6 @@ void necdsp_device::device_start()
|
|||||||
m_direct = &m_program->direct();
|
m_direct = &m_program->direct();
|
||||||
|
|
||||||
// register our state for the debugger
|
// register our state for the debugger
|
||||||
std::string tempstr;
|
|
||||||
state_add(STATE_GENPC, "GENPC", regs.pc).noshow();
|
state_add(STATE_GENPC, "GENPC", regs.pc).noshow();
|
||||||
state_add(UPD7725_PC, "PC", regs.pc);
|
state_add(UPD7725_PC, "PC", regs.pc);
|
||||||
state_add(UPD7725_RP, "RP", regs.rp);
|
state_add(UPD7725_RP, "RP", regs.rp);
|
||||||
|
@ -758,7 +758,6 @@ bool device_image_interface::load_software(software_list_device &swlist, const c
|
|||||||
{
|
{
|
||||||
std::string locationtag, breakstr("%");
|
std::string locationtag, breakstr("%");
|
||||||
const rom_entry *region;
|
const rom_entry *region;
|
||||||
std::string regiontag;
|
|
||||||
bool retVal = FALSE;
|
bool retVal = FALSE;
|
||||||
int warningcount = 0;
|
int warningcount = 0;
|
||||||
for (region = start; region != NULL; region = rom_next_region(region))
|
for (region = start; region != NULL; region = rom_next_region(region))
|
||||||
|
@ -1929,8 +1929,6 @@ void address_space::populate_from_map(address_map *map)
|
|||||||
void address_space::populate_map_entry(const address_map_entry &entry, read_or_write readorwrite)
|
void address_space::populate_map_entry(const address_map_entry &entry, read_or_write readorwrite)
|
||||||
{
|
{
|
||||||
const map_handler_data &data = (readorwrite == ROW_READ) ? entry.m_read : entry.m_write;
|
const map_handler_data &data = (readorwrite == ROW_READ) ? entry.m_read : entry.m_write;
|
||||||
std::string fulltag;
|
|
||||||
|
|
||||||
// based on the handler type, alter the bits, name, funcptr, and object
|
// based on the handler type, alter the bits, name, funcptr, and object
|
||||||
switch (data.m_type)
|
switch (data.m_type)
|
||||||
{
|
{
|
||||||
|
@ -104,7 +104,6 @@ void ui_menu_file_manager::populate()
|
|||||||
{
|
{
|
||||||
std::string buffer, tmp_inst, tmp_name;
|
std::string buffer, tmp_inst, tmp_name;
|
||||||
bool first_entry = true;
|
bool first_entry = true;
|
||||||
std::string prev_owner;
|
|
||||||
|
|
||||||
if (!m_warnings.empty())
|
if (!m_warnings.empty())
|
||||||
{
|
{
|
||||||
|
@ -91,7 +91,6 @@ void ui_menu_input_general::populate()
|
|||||||
{
|
{
|
||||||
input_item_data *itemlist = NULL;
|
input_item_data *itemlist = NULL;
|
||||||
int suborder[SEQ_TYPE_TOTAL];
|
int suborder[SEQ_TYPE_TOTAL];
|
||||||
std::string tempstring;
|
|
||||||
int sortorder = 1;
|
int sortorder = 1;
|
||||||
|
|
||||||
/* create a mini lookup table for sort order based on sequence type */
|
/* create a mini lookup table for sort order based on sequence type */
|
||||||
@ -154,7 +153,6 @@ void ui_menu_input_specific::populate()
|
|||||||
{
|
{
|
||||||
input_item_data *itemlist = NULL;
|
input_item_data *itemlist = NULL;
|
||||||
int suborder[SEQ_TYPE_TOTAL];
|
int suborder[SEQ_TYPE_TOTAL];
|
||||||
std::string tempstring;
|
|
||||||
int port_count = 0;
|
int port_count = 0;
|
||||||
|
|
||||||
/* create a mini lookup table for sort order based on sequence type */
|
/* create a mini lookup table for sort order based on sequence type */
|
||||||
|
@ -196,7 +196,6 @@ bool validity_checker::check_all()
|
|||||||
// if we had warnings or errors, output
|
// if we had warnings or errors, output
|
||||||
if (m_errors > 0 || m_warnings > 0)
|
if (m_errors > 0 || m_warnings > 0)
|
||||||
{
|
{
|
||||||
std::string tempstr;
|
|
||||||
output_via_delegate(OSD_OUTPUT_CHANNEL_ERROR, "Core: %d errors, %d warnings\n", m_errors, m_warnings);
|
output_via_delegate(OSD_OUTPUT_CHANNEL_ERROR, "Core: %d errors, %d warnings\n", m_errors, m_warnings);
|
||||||
if (m_errors > 0)
|
if (m_errors > 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user