mirror of
https://github.com/holub/mame
synced 2025-04-23 08:49:55 +03:00
added missing \n to even more fatalerror() calls (no whatsnew)
This commit is contained in:
parent
44cd4a476a
commit
512acc5bd6
@ -1863,11 +1863,11 @@ void address_space::prepare_map()
|
||||
// find the region
|
||||
memory_region *region = machine().root_device().memregion(fulltag);
|
||||
if (region == NULL)
|
||||
fatalerror("Error: device '%s' %s space memory map entry %X-%X references non-existant region \"%s\"", m_device.tag(), m_name, entry->m_addrstart, entry->m_addrend, entry->m_region);
|
||||
fatalerror("Error: device '%s' %s space memory map entry %X-%X references non-existant region \"%s\"\n", m_device.tag(), m_name, entry->m_addrstart, entry->m_addrend, entry->m_region);
|
||||
|
||||
// validate the region
|
||||
if (entry->m_rgnoffs + (entry->m_byteend - entry->m_bytestart + 1) > region->bytes())
|
||||
fatalerror("Error: device '%s' %s space memory map entry %X-%X extends beyond region \"%s\" size (%X)", m_device.tag(), m_name, entry->m_addrstart, entry->m_addrend, entry->m_region, region->bytes());
|
||||
fatalerror("Error: device '%s' %s space memory map entry %X-%X extends beyond region \"%s\" size (%X)\n", m_device.tag(), m_name, entry->m_addrstart, entry->m_addrend, entry->m_region, region->bytes());
|
||||
}
|
||||
|
||||
// convert any region-relative entries to their memory pointers
|
||||
@ -2437,7 +2437,7 @@ void *address_space::install_ram_generic(offs_t addrstart, offs_t addrend, offs_
|
||||
if (bank.base() == NULL && manager().m_initialized)
|
||||
{
|
||||
if (machine().phase() >= MACHINE_PHASE_RESET)
|
||||
fatalerror("Attempted to call install_ram_generic() after initialization time without a baseptr!");
|
||||
fatalerror("Attempted to call install_ram_generic() after initialization time without a baseptr!\n");
|
||||
memory_block &block = manager().m_blocklist.append(*global_alloc(memory_block(*this, address_to_byte(addrstart), address_to_byte_end(addrend))));
|
||||
bank.set_base(block.data());
|
||||
}
|
||||
@ -2466,7 +2466,7 @@ void *address_space::install_ram_generic(offs_t addrstart, offs_t addrend, offs_
|
||||
if (bank.base() == NULL && manager().m_initialized)
|
||||
{
|
||||
if (machine().phase() >= MACHINE_PHASE_RESET)
|
||||
fatalerror("Attempted to call install_ram_generic() after initialization time without a baseptr!");
|
||||
fatalerror("Attempted to call install_ram_generic() after initialization time without a baseptr!\n");
|
||||
memory_block &block = manager().m_blocklist.append(*global_alloc(memory_block(*this, address_to_byte(addrstart), address_to_byte_end(addrend))));
|
||||
bank.set_base(block.data());
|
||||
}
|
||||
@ -3584,7 +3584,7 @@ UINT8 address_table::subtable_alloc()
|
||||
|
||||
// merge any subtables we can
|
||||
if (!subtable_merge())
|
||||
fatalerror("Ran out of subtables!");
|
||||
fatalerror("Ran out of subtables!\n");
|
||||
}
|
||||
}
|
||||
|
||||
@ -3600,7 +3600,7 @@ void address_table::subtable_realloc(UINT8 subentry)
|
||||
|
||||
// sanity check
|
||||
if (m_subtable[subindex].m_usecount <= 0)
|
||||
fatalerror("Called subtable_realloc on a table with a usecount of 0");
|
||||
fatalerror("Called subtable_realloc on a table with a usecount of 0\n");
|
||||
|
||||
// increment the usecount
|
||||
m_subtable[subindex].m_usecount++;
|
||||
@ -3677,7 +3677,7 @@ void address_table::subtable_release(UINT8 subentry)
|
||||
|
||||
// sanity check
|
||||
if (m_subtable[subindex].m_usecount <= 0)
|
||||
fatalerror("Called subtable_release on a table with a usecount of 0");
|
||||
fatalerror("Called subtable_release on a table with a usecount of 0\n");
|
||||
|
||||
// decrement the usecount and clear the checksum if we're at 0
|
||||
// also unref the subhandlers
|
||||
|
@ -141,12 +141,12 @@ void save_manager::register_presave(save_prepost_delegate func)
|
||||
{
|
||||
// check for invalid timing
|
||||
if (!m_reg_allowed)
|
||||
fatalerror("Attempt to register callback function after state registration is closed!");
|
||||
fatalerror("Attempt to register callback function after state registration is closed!\n");
|
||||
|
||||
// scan for duplicates and push through to the end
|
||||
for (state_callback *cb = m_presave_list.first(); cb != NULL; cb = cb->next())
|
||||
if (cb->m_func == func)
|
||||
fatalerror("Duplicate save state function (%s/%s)", cb->m_func.name(), func.name());
|
||||
fatalerror("Duplicate save state function (%s/%s)\n", cb->m_func.name(), func.name());
|
||||
|
||||
// allocate a new entry
|
||||
m_presave_list.append(*auto_alloc(machine(), state_callback(func)));
|
||||
@ -162,12 +162,12 @@ void save_manager::register_postload(save_prepost_delegate func)
|
||||
{
|
||||
// check for invalid timing
|
||||
if (!m_reg_allowed)
|
||||
fatalerror("Attempt to register callback function after state registration is closed!");
|
||||
fatalerror("Attempt to register callback function after state registration is closed!\n");
|
||||
|
||||
// scan for duplicates and push through to the end
|
||||
for (state_callback *cb = m_postload_list.first(); cb != NULL; cb = cb->next())
|
||||
if (cb->m_func == func)
|
||||
fatalerror("Duplicate save state function (%s/%s)", cb->m_func.name(), func.name());
|
||||
fatalerror("Duplicate save state function (%s/%s)\n", cb->m_func.name(), func.name());
|
||||
|
||||
// allocate a new entry
|
||||
m_postload_list.append(*auto_alloc(machine(), state_callback(func)));
|
||||
@ -211,7 +211,7 @@ void save_manager::save_memory(const char *module, const char *tag, UINT32 index
|
||||
|
||||
// error if we are equal
|
||||
if (entry->m_name == totalname)
|
||||
fatalerror("Duplicate save state registration entry (%s)", totalname.cstr());
|
||||
fatalerror("Duplicate save state registration entry (%s)\n", totalname.cstr());
|
||||
}
|
||||
|
||||
// insert us into the list
|
||||
|
@ -764,11 +764,11 @@ void device_scheduler::rebuild_execute_list()
|
||||
{
|
||||
device_t *device = machine().device(machine().config().m_perfect_cpu_quantum);
|
||||
if (device == NULL)
|
||||
fatalerror("Device '%s' specified for perfect interleave is not present!", machine().config().m_perfect_cpu_quantum.cstr());
|
||||
fatalerror("Device '%s' specified for perfect interleave is not present!\n", machine().config().m_perfect_cpu_quantum.cstr());
|
||||
|
||||
device_execute_interface *exec;
|
||||
if (!device->interface(exec))
|
||||
fatalerror("Device '%s' specified for perfect interleave is not an executing device!", machine().config().m_perfect_cpu_quantum.cstr());
|
||||
fatalerror("Device '%s' specified for perfect interleave is not an executing device!\n", machine().config().m_perfect_cpu_quantum.cstr());
|
||||
|
||||
min_quantum = min(attotime(0, exec->minimum_quantum()), min_quantum);
|
||||
}
|
||||
|
@ -250,11 +250,11 @@ void sound_stream::set_input(int index, sound_stream *input_stream, int output_i
|
||||
|
||||
// make sure it's a valid input
|
||||
if (index >= m_input.count())
|
||||
fatalerror("Fatal error: stream_set_input attempted to configure non-existant input %d (%d max)", index, m_input.count());
|
||||
fatalerror("Fatal error: stream_set_input attempted to configure non-existant input %d (%d max)\n", index, m_input.count());
|
||||
|
||||
// make sure it's a valid output
|
||||
if (input_stream != NULL && output_index >= input_stream->m_output.count())
|
||||
fatalerror("Fatal error: stream_set_input attempted to use a non-existant output %d (%d max)", output_index, m_output.count());
|
||||
fatalerror("Fatal error: stream_set_input attempted to use a non-existant output %d (%d max)\n", output_index, m_output.count());
|
||||
|
||||
// if this input is already wired, update the dependent info
|
||||
stream_input &input = m_input[index];
|
||||
|
@ -1286,7 +1286,7 @@ DISCRETE_RESET(dst_sallen_key)
|
||||
q = sqrt(info->c1 * info->c2 * info->r1 * info->r2) / (info->c2 * (info->r1 + info->r2));
|
||||
break;
|
||||
default:
|
||||
fatalerror("Unknown sallen key filter type");
|
||||
fatalerror("Unknown sallen key filter type\n");
|
||||
}
|
||||
|
||||
calculate_filter2_coefficients(this, freq, 1.0 / q, DISC_FILTER_LOWPASS, m_fc);
|
||||
|
@ -78,7 +78,7 @@ DISCRETE_RESET(dss_adjustment)
|
||||
astring fulltag;
|
||||
m_port = m_device->machine().root_device().ioport(m_device->siblingtag(fulltag, (const char *)this->custom_data()).cstr());
|
||||
if (m_port == NULL)
|
||||
fatalerror("DISCRETE_ADJUSTMENT - NODE_%d has invalid tag", this->index());
|
||||
fatalerror("DISCRETE_ADJUSTMENT - NODE_%d has invalid tag\n", this->index());
|
||||
|
||||
m_lastpval = 0x7fffffff;
|
||||
m_pmin = DSS_ADJUSTMENT__PMIN;
|
||||
|
@ -1640,7 +1640,7 @@ DISCRETE_RESET(dst_transform)
|
||||
default:
|
||||
m_device->discrete_log("dst_transform_step - Invalid function type/variable passed: %s",(const char *)this->custom_data());
|
||||
/* that is enough to fatalerror */
|
||||
fatalerror("dst_transform_step - Invalid function type/variable passed: %s", (const char *)this->custom_data());
|
||||
fatalerror("dst_transform_step - Invalid function type/variable passed: %s\n", (const char *)this->custom_data());
|
||||
break;
|
||||
}
|
||||
p++;
|
||||
|
@ -184,7 +184,7 @@ DISCRETE_RESET(dss_counter)
|
||||
|
||||
|
||||
if (!m_is_7492 && (DSS_COUNTER__MAX < DSS_COUNTER__MIN))
|
||||
fatalerror("MAX < MIN in NODE_%02d", this->index());
|
||||
fatalerror("MAX < MIN in NODE_%02d\n", this->index());
|
||||
|
||||
m_out_type = m_clock_type & DISC_OUT_MASK;
|
||||
m_clock_type &= DISC_CLK_MASK;
|
||||
@ -1590,7 +1590,7 @@ DISCRETE_STEP(dss_inverter_osc)
|
||||
vG2 = this->tf(vG3);
|
||||
break;
|
||||
default:
|
||||
fatalerror("DISCRETE_INVERTER_OSC - Wrong type on NODE_%02d", this->index());
|
||||
fatalerror("DISCRETE_INVERTER_OSC - Wrong type on NODE_%02d\n", this->index());
|
||||
}
|
||||
|
||||
clamped = 0;
|
||||
@ -1656,7 +1656,7 @@ DISCRETE_STEP(dss_inverter_osc)
|
||||
diff = diff - diff * exp(-this->sample_time()/(mc_c * rMix));
|
||||
break;
|
||||
default:
|
||||
fatalerror("DISCRETE_INVERTER_OSC - Wrong type on NODE_%02d", this->index());
|
||||
fatalerror("DISCRETE_INVERTER_OSC - Wrong type on NODE_%02d\n", this->index());
|
||||
}
|
||||
|
||||
mc_v_cap += diff;
|
||||
|
@ -412,10 +412,10 @@ void discrete_base_node::resolve_input_nodes(void)
|
||||
//discrete_base_node *node_ref = m_device->m_indexed_node[NODE_INDEX(inputnode)];
|
||||
discrete_base_node *node_ref = m_device->discrete_find_node(inputnode);
|
||||
if (!node_ref)
|
||||
fatalerror("discrete_start - NODE_%02d referenced a non existent node NODE_%02d", index(), NODE_INDEX(inputnode));
|
||||
fatalerror("discrete_start - NODE_%02d referenced a non existent node NODE_%02d\n", index(), NODE_INDEX(inputnode));
|
||||
|
||||
if ((NODE_CHILD_NODE_NUM(inputnode) >= node_ref->max_output()) /*&& (node_ref->module_type() != DST_CUSTOM)*/)
|
||||
fatalerror("discrete_start - NODE_%02d referenced non existent output %d on node NODE_%02d", index(), NODE_CHILD_NODE_NUM(inputnode), NODE_INDEX(inputnode));
|
||||
fatalerror("discrete_start - NODE_%02d referenced non existent output %d on node NODE_%02d\n", index(), NODE_CHILD_NODE_NUM(inputnode), NODE_INDEX(inputnode));
|
||||
|
||||
m_input[inputnum] = &(node_ref->m_output[NODE_CHILD_NODE_NUM(inputnode)]); /* Link referenced node out to input */
|
||||
m_input_is_node |= 1 << inputnum; /* Bit flag if input is node */
|
||||
@ -505,7 +505,7 @@ void discrete_device::discrete_build_list(const discrete_block *intf, sound_bloc
|
||||
bool found = false;
|
||||
node_count++;
|
||||
if (intf[node_count].type == DSS_NULL)
|
||||
fatalerror("discrete_build_list: DISCRETE_REPLACE at end of node_list");
|
||||
fatalerror("discrete_build_list: DISCRETE_REPLACE at end of node_list\n");
|
||||
|
||||
for (int i=0; i < block_list.count(); i++)
|
||||
{
|
||||
@ -522,7 +522,7 @@ void discrete_device::discrete_build_list(const discrete_block *intf, sound_bloc
|
||||
}
|
||||
|
||||
if (!found)
|
||||
fatalerror("discrete_build_list: DISCRETE_REPLACE did not found node %d", NODE_INDEX(intf[node_count].node));
|
||||
fatalerror("discrete_build_list: DISCRETE_REPLACE did not found node %d\n", NODE_INDEX(intf[node_count].node));
|
||||
|
||||
}
|
||||
else if (intf[node_count].type == DSO_DELETE)
|
||||
@ -568,19 +568,19 @@ void discrete_device::discrete_sanity_check(const sound_block_list_t &block_list
|
||||
|
||||
/* make sure we don't have too many nodes overall */
|
||||
if (node_count > DISCRETE_MAX_NODES)
|
||||
fatalerror("discrete_start() - Upper limit of %d nodes exceeded, have you terminated the interface block?", DISCRETE_MAX_NODES);
|
||||
fatalerror("discrete_start() - Upper limit of %d nodes exceeded, have you terminated the interface block?\n", DISCRETE_MAX_NODES);
|
||||
|
||||
/* make sure the node number is in range */
|
||||
if (block->node < NODE_START || block->node > NODE_END)
|
||||
fatalerror("discrete_start() - Invalid node number on node %02d descriptor", block->node);
|
||||
fatalerror("discrete_start() - Invalid node number on node %02d descriptor\n", block->node);
|
||||
|
||||
/* make sure the node type is valid */
|
||||
if (block->type > DSO_OUTPUT)
|
||||
fatalerror("discrete_start() - Invalid function type on NODE_%02d", NODE_INDEX(block->node) );
|
||||
fatalerror("discrete_start() - Invalid function type on NODE_%02d\n", NODE_INDEX(block->node) );
|
||||
|
||||
/* make sure this is a main node */
|
||||
if (NODE_CHILD_NODE_NUM(block->node) > 0)
|
||||
fatalerror("discrete_start() - Child node number on NODE_%02d", NODE_INDEX(block->node) );
|
||||
fatalerror("discrete_start() - Child node number on NODE_%02d\n", NODE_INDEX(block->node) );
|
||||
|
||||
node_count++;
|
||||
}
|
||||
@ -724,11 +724,11 @@ void discrete_device::init_nodes(const sound_block_list_t &block_list)
|
||||
if (USE_DISCRETE_TASKS)
|
||||
{
|
||||
if (task != NULL)
|
||||
fatalerror("init_nodes() - Nested DISCRETE_START_TASK.");
|
||||
fatalerror("init_nodes() - Nested DISCRETE_START_TASK.\n");
|
||||
task = auto_alloc_clear(machine(), discrete_task(*this));
|
||||
task->task_group = block->initial[0];
|
||||
if (task->task_group < 0 || task->task_group >= DISCRETE_MAX_TASK_GROUPS)
|
||||
fatalerror("discrete_dso_task: illegal task_group %d", task->task_group);
|
||||
fatalerror("discrete_dso_task: illegal task_group %d\n", task->task_group);
|
||||
//printf("task group %d\n", task->task_group);
|
||||
task_list.add(task);
|
||||
}
|
||||
@ -738,12 +738,12 @@ void discrete_device::init_nodes(const sound_block_list_t &block_list)
|
||||
if (USE_DISCRETE_TASKS)
|
||||
{
|
||||
if (task == NULL)
|
||||
fatalerror("init_nodes() - NO DISCRETE_START_TASK.");
|
||||
fatalerror("init_nodes() - NO DISCRETE_START_TASK.\n");
|
||||
}
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("init_nodes() - Failed, trying to create unknown special discrete node.");
|
||||
fatalerror("init_nodes() - Failed, trying to create unknown special discrete node.\n");
|
||||
}
|
||||
}
|
||||
|
||||
@ -751,7 +751,7 @@ void discrete_device::init_nodes(const sound_block_list_t &block_list)
|
||||
else
|
||||
{
|
||||
if (m_indexed_node[NODE_INDEX(block->node)])
|
||||
fatalerror("init_nodes() - Duplicate entries for NODE_%02d", NODE_INDEX(block->node));
|
||||
fatalerror("init_nodes() - Duplicate entries for NODE_%02d\n", NODE_INDEX(block->node));
|
||||
m_indexed_node[NODE_INDEX(block->node)] = node;
|
||||
}
|
||||
|
||||
@ -765,7 +765,7 @@ void discrete_device::init_nodes(const sound_block_list_t &block_list)
|
||||
{
|
||||
/* do we belong to a task? */
|
||||
if (task == NULL)
|
||||
fatalerror("init_nodes() - found node outside of task: %s", node->module_name() );
|
||||
fatalerror("init_nodes() - found node outside of task: %s\n", node->module_name() );
|
||||
else
|
||||
task->step_list.add(step);
|
||||
}
|
||||
@ -983,7 +983,7 @@ void discrete_sound_device::device_start()
|
||||
|
||||
/* if no outputs, give an error */
|
||||
if (m_output_list.count() == 0)
|
||||
fatalerror("init_nodes() - Couldn't find an output node");
|
||||
fatalerror("init_nodes() - Couldn't find an output node\n");
|
||||
|
||||
/* initialize the stream(s) */
|
||||
m_stream = machine().sound().stream_alloc(*this,m_input_stream_list.count(), m_output_list.count(), m_sample_rate);
|
||||
|
@ -401,7 +401,7 @@ static void generic_start(device_t *device, int feedbackmask, int noisetap1, int
|
||||
sn76496_state *chip = get_safe_token(device);
|
||||
|
||||
if (SN76496_init(device,chip,stereo) != 0)
|
||||
fatalerror("Error creating SN76496 chip");
|
||||
fatalerror("Error creating SN76496 chip\n");
|
||||
SN76496_set_gain(chip, 0);
|
||||
|
||||
chip->FeedbackMask = feedbackmask;
|
||||
|
@ -347,7 +347,7 @@ static DEVICE_START( t6w28 )
|
||||
t6w28_state *chip = get_safe_token(device);
|
||||
|
||||
if (t6w28_init(device,chip) != 0)
|
||||
fatalerror("Error creating t6w28 chip");
|
||||
fatalerror("Error creating t6w28 chip\n");
|
||||
t6w28_set_gain(chip, 0);
|
||||
|
||||
/* values from sn76489a */
|
||||
|
@ -537,7 +537,7 @@ static void update_pcm(YMF271Chip *chip, int slotnum, INT32 *mixp, int length)
|
||||
|
||||
if (slot->waveform != 7)
|
||||
{
|
||||
fatalerror("Waveform %d in update_pcm !!!", slot->waveform);
|
||||
fatalerror("Waveform %d in update_pcm!!!\n", slot->waveform);
|
||||
}
|
||||
|
||||
for (i = 0; i < length; i++)
|
||||
|
@ -321,7 +321,7 @@ void ui_menu_main::handle()
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("ui_menu_main::handle - unknown reference");
|
||||
fatalerror("ui_menu_main::handle - unknown reference\n");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1124,7 +1124,7 @@ file_error video_manager::open_next(emu_file &file, const char *extension)
|
||||
end = snapstr.len();
|
||||
|
||||
if (end - pos < 3)
|
||||
fatalerror("Something very wrong is going on!!!");
|
||||
fatalerror("Something very wrong is going on!!!\n");
|
||||
|
||||
// copy the device name to an astring
|
||||
astring snapdevname;
|
||||
|
@ -875,7 +875,7 @@ void h63484_device::process_fifo()
|
||||
m_dn = m_pr[0]; // number of param words
|
||||
|
||||
//if(m_dn > 0x10 || m_dn == 0)
|
||||
// fatalerror("stop!");
|
||||
// fatalerror("stop!\n");
|
||||
}
|
||||
|
||||
if(m_param_ptr == (1 + m_dn))
|
||||
@ -956,7 +956,7 @@ void h63484_device::process_fifo()
|
||||
|
||||
default:
|
||||
printf("%04x\n",m_cr);
|
||||
fatalerror("stop!");
|
||||
fatalerror("stop!\n");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
@ -116,7 +116,7 @@ void msm6255_device::device_config_complete()
|
||||
// or initialize to defaults if none provided
|
||||
else
|
||||
{
|
||||
fatalerror("Interface not specified!");
|
||||
fatalerror("Interface not specified!\n");
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -354,7 +354,7 @@ static VIDEO_START( pc_cga )
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("CGA: Bus width %d not supported", buswidth);
|
||||
fatalerror("CGA: Bus width %d not supported\n", buswidth);
|
||||
break;
|
||||
}
|
||||
spaceio->install_legacy_readwrite_handler(0x3d0, 0x3df, FUNC(pc_cga8_r), FUNC(pc_cga8_w), mask );
|
||||
@ -396,7 +396,7 @@ static VIDEO_START( pc_cga32k )
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("CGA: Bus width %d not supported", buswidth);
|
||||
fatalerror("CGA: Bus width %d not supported\n", buswidth);
|
||||
break;
|
||||
}
|
||||
spaceio->install_legacy_readwrite_handler(0x3d0, 0x3df, FUNC(pc_cga8_r), FUNC(pc_cga8_w), mask );
|
||||
@ -1225,7 +1225,7 @@ static WRITE8_HANDLER( pc_cga8_w )
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("CGA: Bus width %d not supported", buswidth);
|
||||
fatalerror("CGA: Bus width %d not supported\n", buswidth);
|
||||
break;
|
||||
}
|
||||
space_prg->install_legacy_readwrite_handler(0xb8000, 0xb9fff, FUNC(char_ram_r),FUNC(char_ram_w), mask );
|
||||
|
@ -1988,9 +1988,9 @@ void pc_vga_init(running_machine &machine, read8_space_func read_dipswitch, cons
|
||||
vga.svga_intf = *svga_intf;
|
||||
|
||||
if (vga.svga_intf.seq_regcount < 0x05)
|
||||
fatalerror("Invalid SVGA sequencer register count");
|
||||
fatalerror("Invalid SVGA sequencer register count\n");
|
||||
if (vga.svga_intf.crtc_regcount < 0x19)
|
||||
fatalerror("Invalid SVGA CRTC register count");
|
||||
fatalerror("Invalid SVGA CRTC register count\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -2035,7 +2035,7 @@ void pc_vga_io_init(running_machine &machine, address_space *mem_space, offs_t m
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("VGA: Bus width %d not supported", buswidth);
|
||||
fatalerror("VGA: Bus width %d not supported\n", buswidth);
|
||||
break;
|
||||
}
|
||||
io_space->install_legacy_readwrite_handler(port_offset + 0x3b0, port_offset + 0x3bf, FUNC(vga_port_03b0_r), FUNC(vga_port_03b0_w), mask);
|
||||
@ -2460,7 +2460,7 @@ void pc_svga_trident_io_init(running_machine &machine, address_space *mem_space,
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("VGA: Bus width %d not supported", buswidth);
|
||||
fatalerror("VGA: Bus width %d not supported\n", buswidth);
|
||||
break;
|
||||
}
|
||||
io_space->install_legacy_readwrite_handler(port_offset + 0x3b0, port_offset + 0x3bf, FUNC(vga_port_03b0_r), FUNC(vga_port_03b0_w), mask);
|
||||
@ -2723,7 +2723,7 @@ static void s3_define_video_mode(void)
|
||||
case 0x03: svga.rgb15_en = 1; break;
|
||||
case 0x05: svga.rgb16_en = 1; break;
|
||||
case 0x0d: svga.rgb32_en = 1; break;
|
||||
default: fatalerror("TODO: s3 video mode not implemented %02x",((s3.ext_misc_ctrl_2) >> 4)); break;
|
||||
default: fatalerror("TODO: s3 video mode not implemented %02x\n",((s3.ext_misc_ctrl_2) >> 4)); break;
|
||||
}
|
||||
}
|
||||
else
|
||||
@ -2937,7 +2937,7 @@ bit 0-1 DAC Register Select Bits. Passed to the RS2 and RS3 pins on the
|
||||
svga.bank_w = data & 0xf;
|
||||
svga.bank_r = svga.bank_w;
|
||||
if(data & 0x60)
|
||||
fatalerror("TODO: s3 bank selects above 1M");
|
||||
fatalerror("TODO: s3 bank selects above 1M\n");
|
||||
break;
|
||||
default:
|
||||
logerror("S3: 3D4 index %02x write %02x\n",index,data);
|
||||
@ -4481,7 +4481,7 @@ void pc_vga_gamtor_io_init(running_machine &machine, address_space *mem_space, o
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("VGA: Bus width %d not supported", buswidth);
|
||||
fatalerror("VGA: Bus width %d not supported\n", buswidth);
|
||||
break;
|
||||
}
|
||||
io_space->install_legacy_readwrite_handler(port_offset + 0x3b0, port_offset + 0x3bf, FUNC(vga_port_gamtor_03b0_r), FUNC(vga_port_gamtor_03b0_w), mask);
|
||||
|
@ -491,7 +491,7 @@ int compute_res_net(int inputs, int channel, const res_net_info *di)
|
||||
/* Fall through */
|
||||
break;
|
||||
default:
|
||||
fatalerror("compute_res_net: Unknown amplifier type");
|
||||
fatalerror("compute_res_net: Unknown amplifier type\n");
|
||||
}
|
||||
|
||||
switch (di->options & RES_NET_VCC_MASK)
|
||||
@ -503,7 +503,7 @@ int compute_res_net(int inputs, int channel, const res_net_info *di)
|
||||
/* Fall through */
|
||||
break;
|
||||
default:
|
||||
fatalerror("compute_res_net: Unknown vcc type");
|
||||
fatalerror("compute_res_net: Unknown vcc type\n");
|
||||
}
|
||||
|
||||
switch (di->options & RES_NET_VBIAS_MASK)
|
||||
@ -521,7 +521,7 @@ int compute_res_net(int inputs, int channel, const res_net_info *di)
|
||||
/* Fall through */
|
||||
break;
|
||||
default:
|
||||
fatalerror("compute_res_net: Unknown vcc type");
|
||||
fatalerror("compute_res_net: Unknown vcc type\n");
|
||||
}
|
||||
|
||||
switch (di->options & RES_NET_VIN_MASK)
|
||||
@ -548,7 +548,7 @@ int compute_res_net(int inputs, int channel, const res_net_info *di)
|
||||
/* Fall through */
|
||||
break;
|
||||
default:
|
||||
fatalerror("compute_res_net: Unknown vin type");
|
||||
fatalerror("compute_res_net: Unknown vin type\n");
|
||||
}
|
||||
|
||||
/* Per channel options */
|
||||
@ -574,7 +574,7 @@ int compute_res_net(int inputs, int channel, const res_net_info *di)
|
||||
/* Fall through */
|
||||
break;
|
||||
default:
|
||||
fatalerror("compute_res_net: Unknown amplifier type");
|
||||
fatalerror("compute_res_net: Unknown amplifier type\n");
|
||||
}
|
||||
|
||||
switch (di->rgb[channel].options & RES_NET_VBIAS_MASK)
|
||||
@ -592,7 +592,7 @@ int compute_res_net(int inputs, int channel, const res_net_info *di)
|
||||
/* Fall through */
|
||||
break;
|
||||
default:
|
||||
fatalerror("compute_res_net: Unknown vcc type");
|
||||
fatalerror("compute_res_net: Unknown vcc type\n");
|
||||
}
|
||||
|
||||
/* Input impedances */
|
||||
|
@ -1448,7 +1448,7 @@ static void recompute_texture_params(tmu_state *t)
|
||||
|
||||
/* check for separate RGBA filtering */
|
||||
if (TEXDETAIL_SEPARATE_RGBA_FILTER(t->reg[tDetail].u))
|
||||
fatalerror("Separate RGBA filters!");
|
||||
fatalerror("Separate RGBA filters!\n");
|
||||
}
|
||||
|
||||
|
||||
@ -1682,7 +1682,7 @@ static UINT32 cmdfifo_execute(voodoo_state *v, cmdfifo_info *f)
|
||||
|
||||
case 2: /* RET */
|
||||
if (LOG_CMDFIFO) logerror(" RET $%06X\n", target);
|
||||
fatalerror("RET in CMDFIFO!");
|
||||
fatalerror("RET in CMDFIFO!\n");
|
||||
break;
|
||||
|
||||
case 3: /* JMP LOCAL FRAME BUFFER */
|
||||
@ -1692,13 +1692,13 @@ static UINT32 cmdfifo_execute(voodoo_state *v, cmdfifo_info *f)
|
||||
|
||||
case 4: /* JMP AGP */
|
||||
if (LOG_CMDFIFO) logerror(" JMP AGP $%06X\n", target);
|
||||
fatalerror("JMP AGP in CMDFIFO!");
|
||||
fatalerror("JMP AGP in CMDFIFO!\n");
|
||||
src = &fifobase[target / 4];
|
||||
break;
|
||||
|
||||
default:
|
||||
mame_printf_debug("INVALID JUMP COMMAND!\n");
|
||||
fatalerror(" INVALID JUMP COMMAND");
|
||||
fatalerror(" INVALID JUMP COMMAND\n");
|
||||
break;
|
||||
}
|
||||
break;
|
||||
@ -2149,7 +2149,7 @@ static void check_stalled_cpu(voodoo_state *v, attotime current_time)
|
||||
static void stall_cpu(voodoo_state *v, int state, attotime current_time)
|
||||
{
|
||||
/* sanity check */
|
||||
if (!v->pci.op_pending) fatalerror("FIFOs not empty, no op pending!");
|
||||
if (!v->pci.op_pending) fatalerror("FIFOs not empty, no op pending!\n");
|
||||
|
||||
/* set the state and update statistics */
|
||||
v->pci.stall_state = state;
|
||||
@ -2507,7 +2507,7 @@ static INT32 register_w(voodoo_state *v, offs_t offset, UINT32 data)
|
||||
|
||||
case userIntrCMD:
|
||||
poly_wait(v->poly, v->regnames[regnum]);
|
||||
//fatalerror("userIntrCMD");
|
||||
//fatalerror("userIntrCMD\n");
|
||||
|
||||
v->reg[intrCtrl].u |= 0x1800;
|
||||
v->reg[intrCtrl].u &= ~0x80000000;
|
||||
@ -2714,7 +2714,7 @@ static INT32 register_w(voodoo_state *v, offs_t offset, UINT32 data)
|
||||
|
||||
case cmdFifoBump:
|
||||
if (v->type == TYPE_VOODOO_2 && (chips & 1))
|
||||
fatalerror("cmdFifoBump");
|
||||
fatalerror("cmdFifoBump\n");
|
||||
break;
|
||||
|
||||
case cmdFifoRdPtr:
|
||||
@ -2764,7 +2764,7 @@ static INT32 register_w(voodoo_state *v, offs_t offset, UINT32 data)
|
||||
else
|
||||
rowpixels = (data & 0x3fff) >> 1;
|
||||
if (v->fbi.rowpixels != rowpixels)
|
||||
fatalerror("aux buffer stride differs from color buffer stride");
|
||||
fatalerror("aux buffer stride differs from color buffer stride\n");
|
||||
}
|
||||
break;
|
||||
|
||||
@ -3294,7 +3294,7 @@ static INT32 texture_w(voodoo_state *v, offs_t offset, UINT32 data)
|
||||
t = &v->tmu[tmunum];
|
||||
|
||||
if (TEXLOD_TDIRECT_WRITE(t->reg[tLOD].u))
|
||||
fatalerror("Texture direct write!");
|
||||
fatalerror("Texture direct write!\n");
|
||||
|
||||
/* wait for any outstanding work to finish */
|
||||
poly_wait(v->poly, "Texture write");
|
||||
@ -3413,7 +3413,7 @@ static void flush_fifos(voodoo_state *v, attotime current_time)
|
||||
return;
|
||||
in_flush = TRUE;
|
||||
|
||||
if (!v->pci.op_pending) fatalerror("flush_fifos called with no pending operation");
|
||||
if (!v->pci.op_pending) fatalerror("flush_fifos called with no pending operation\n");
|
||||
|
||||
if (LOG_FIFO_VERBOSE) logerror("VOODOO.%d.FIFO:flush_fifos start -- pending=%d.%08X%08X cur=%d.%08X%08X\n", v->index,
|
||||
v->pci.op_end_time.seconds, (UINT32)(v->pci.op_end_time.attoseconds >> 32), (UINT32)v->pci.op_end_time.attoseconds,
|
||||
@ -3653,7 +3653,7 @@ WRITE32_DEVICE_HANDLER( voodoo_w )
|
||||
fifo_add(&v->pci.fifo, data);
|
||||
}
|
||||
else
|
||||
fatalerror("PCI FIFO full");
|
||||
fatalerror("PCI FIFO full\n");
|
||||
|
||||
/* handle flushing to the memory FIFO */
|
||||
if (FBIINIT0_ENABLE_MEMORY_FIFO(v->reg[fbiInit0].u) &&
|
||||
@ -4527,7 +4527,7 @@ static WRITE32_DEVICE_HANDLER( banshee_agp_w )
|
||||
break;
|
||||
|
||||
case cmdBump0:
|
||||
fatalerror("cmdBump0");
|
||||
fatalerror("cmdBump0\n");
|
||||
break;
|
||||
|
||||
case cmdRdPtrL0:
|
||||
@ -4564,7 +4564,7 @@ static WRITE32_DEVICE_HANDLER( banshee_agp_w )
|
||||
break;
|
||||
|
||||
case cmdBump1:
|
||||
fatalerror("cmdBump1");
|
||||
fatalerror("cmdBump1\n");
|
||||
break;
|
||||
|
||||
case cmdRdPtrL1:
|
||||
@ -4895,7 +4895,7 @@ static void common_start_voodoo(device_t *device, UINT8 type)
|
||||
break;
|
||||
|
||||
default:
|
||||
fatalerror("Unsupported voodoo card in voodoo_start!");
|
||||
fatalerror("Unsupported voodoo card in voodoo_start!\n");
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user