diff options
author | 2012-09-09 07:08:47 +0000 | |
---|---|---|
committer | 2012-09-09 07:08:47 +0000 | |
commit | 8cf19f400c94effec2affe97bc5ae80a865a40cd (patch) | |
tree | 80cf2668d643df42c32384495169db34c236ea62 /src/mess/machine | |
parent | cca30016706d54c32bf6bc1e30d67d14b24b57e7 (diff) |
added missing \n to remaining fatalerror() calls (no whatsnew)
Diffstat (limited to 'src/mess/machine')
-rw-r--r-- | src/mess/machine/6883sam.c | 2 | ||||
-rw-r--r-- | src/mess/machine/6883sam.h | 4 | ||||
-rw-r--r-- | src/mess/machine/apple2gs.c | 8 | ||||
-rw-r--r-- | src/mess/machine/ataricrt.c | 2 | ||||
-rw-r--r-- | src/mess/machine/bebox.c | 2 | ||||
-rw-r--r-- | src/mess/machine/coco3.c | 2 | ||||
-rw-r--r-- | src/mess/machine/cococart.c | 2 | ||||
-rw-r--r-- | src/mess/machine/docg3.c | 2 | ||||
-rw-r--r-- | src/mess/machine/fm_scsi.c | 2 | ||||
-rw-r--r-- | src/mess/machine/genpc.c | 8 | ||||
-rw-r--r-- | src/mess/machine/i82439tx.c | 4 | ||||
-rw-r--r-- | src/mess/machine/isa.c | 12 | ||||
-rw-r--r-- | src/mess/machine/lynx.c | 2 | ||||
-rw-r--r-- | src/mess/machine/mb89352.c | 2 | ||||
-rw-r--r-- | src/mess/machine/mm58274c.c | 2 | ||||
-rw-r--r-- | src/mess/machine/mpc105.c | 4 | ||||
-rw-r--r-- | src/mess/machine/ncr5380.c | 2 | ||||
-rw-r--r-- | src/mess/machine/ncr5390.c | 4 | ||||
-rw-r--r-- | src/mess/machine/nes.c | 6 | ||||
-rw-r--r-- | src/mess/machine/nes_ines.c | 2 | ||||
-rw-r--r-- | src/mess/machine/nes_mmc.c | 4 | ||||
-rw-r--r-- | src/mess/machine/nes_pcb.c | 2 | ||||
-rw-r--r-- | src/mess/machine/nes_unif.c | 2 | ||||
-rw-r--r-- | src/mess/machine/nubus.c | 10 | ||||
-rw-r--r-- | src/mess/machine/s3c44b0.c | 4 |
25 files changed, 48 insertions, 48 deletions
diff --git a/src/mess/machine/6883sam.c b/src/mess/machine/6883sam.c index 481532e074d..84deaee8a6f 100644 --- a/src/mess/machine/6883sam.c +++ b/src/mess/machine/6883sam.c @@ -407,7 +407,7 @@ void sam6883_device::horizontal_sync(void) break; default: - fatalerror("Should not get here"); + fatalerror("Should not get here\n"); return; } } diff --git a/src/mess/machine/6883sam.h b/src/mess/machine/6883sam.h index 09c06dc8fce..69676369127 100644 --- a/src/mess/machine/6883sam.h +++ b/src/mess/machine/6883sam.h @@ -176,7 +176,7 @@ private: case 0x06: x_division = 1; break; case 0x07: x_division = 1; break; default: - fatalerror("Should not get here"); + fatalerror("Should not get here\n"); return; } @@ -204,7 +204,7 @@ private: case 0x06: y_division = 1; break; case 0x07: y_division = 1; break; default: - fatalerror("Should not get here"); + fatalerror("Should not get here\n"); return; } diff --git a/src/mess/machine/apple2gs.c b/src/mess/machine/apple2gs.c index 098b0f13f0a..dea72138ce4 100644 --- a/src/mess/machine/apple2gs.c +++ b/src/mess/machine/apple2gs.c @@ -179,7 +179,7 @@ static void process_clock(running_machine &machine) break; default: - //fatalerror("NYI"); + //fatalerror("NYI\n"); break; } } @@ -226,7 +226,7 @@ static void process_clock(running_machine &machine) break; default: - //fatalerror("NYI"); + //fatalerror("NYI\n"); break; } } @@ -468,7 +468,7 @@ static void adb_do_command(apple2gs_state *state) break; default: - fatalerror("ADB command 0x%02x unimplemented", state->m_adb_command); + fatalerror("ADB command 0x%02x unimplemented\n", state->m_adb_command); break; } state->m_adb_kmstatus |= 0x20; @@ -593,7 +593,7 @@ static void adb_write_datareg(running_machine &machine, UINT8 data) break; default: - fatalerror("ADB command 0x%02x unimplemented", data); + fatalerror("ADB command 0x%02x unimplemented\n", data); break; } diff --git a/src/mess/machine/ataricrt.c b/src/mess/machine/ataricrt.c index 90713c429d8..f2405cf844e 100644 --- a/src/mess/machine/ataricrt.c +++ b/src/mess/machine/ataricrt.c @@ -492,7 +492,7 @@ static int a800_check_cart_type(device_image_interface &image) } if ((strcmp(image.device().tag(),":cart2") == 0) && (type != A800_RIGHT_8K)) - fatalerror("You cannot load this image '%s' in the right slot", image.filename()); + fatalerror("You cannot load this image '%s' in the right slot\n", image.filename()); return type; } diff --git a/src/mess/machine/bebox.c b/src/mess/machine/bebox.c index 028e2aa65ce..25d4795fb07 100644 --- a/src/mess/machine/bebox.c +++ b/src/mess/machine/bebox.c @@ -664,7 +664,7 @@ WRITE8_HANDLER(bebox_80000480_w) READ8_HANDLER(bebox_80000480_r) { - fatalerror("NYI"); + fatalerror("NYI\n"); } diff --git a/src/mess/machine/coco3.c b/src/mess/machine/coco3.c index b0eaefd0086..72159e30da7 100644 --- a/src/mess/machine/coco3.c +++ b/src/mess/machine/coco3.c @@ -173,7 +173,7 @@ UINT32 coco3_state::screen_update(screen_device &screen, bitmap_rgb32 &bitmap, c } else { - fatalerror("Called screen_update() with invalid tag '%s'", screen.tag()); + fatalerror("Called screen_update() with invalid tag '%s'\n", screen.tag()); } return result; } diff --git a/src/mess/machine/cococart.c b/src/mess/machine/cococart.c index 9e11b8f9b5a..71494acfa2b 100644 --- a/src/mess/machine/cococart.c +++ b/src/mess/machine/cococart.c @@ -163,7 +163,7 @@ static const char *line_value_string(cococart_line_value value) s = "Q"; break; default: - fatalerror("Invalid value"); + fatalerror("Invalid value\n"); break; } return s; diff --git a/src/mess/machine/docg3.c b/src/mess/machine/docg3.c index 2c756cb17f7..198e99a3add 100644 --- a/src/mess/machine/docg3.c +++ b/src/mess/machine/docg3.c @@ -597,7 +597,7 @@ void diskonchip_g3_device::sec_2_write_1036(UINT8 data) { UINT32 block, page, plane; block = (m_data_1036 >> 7); - if (block >= m_blocks) fatalerror( "DOCG3: invalid block (%d)", block); + if (block >= m_blocks) fatalerror( "DOCG3: invalid block (%d)\n", block); plane = (m_data_1036 >> 6) & 1; page = (m_data_1036 >> 0) & 0x3F; verboselog( machine(), 5, "flash address %d - %06X (plane %d block %04X page %04X)\n", m_address_count, m_data_1036, plane, block, page); diff --git a/src/mess/machine/fm_scsi.c b/src/mess/machine/fm_scsi.c index 2f691cc9d90..34b104f5ca5 100644 --- a/src/mess/machine/fm_scsi.c +++ b/src/mess/machine/fm_scsi.c @@ -112,7 +112,7 @@ int fmscsi_device::get_scsi_cmd_len(UINT8 cbyte) if (group == 1 || group == 2) return 10; if (group == 5) return 12; - fatalerror("fmscsi: Unknown SCSI command group %d", group); + fatalerror("fmscsi: Unknown SCSI command group %d\n", group); return 6; } diff --git a/src/mess/machine/genpc.c b/src/mess/machine/genpc.c index 4ac87bd56d0..b015f9ab862 100644 --- a/src/mess/machine/genpc.c +++ b/src/mess/machine/genpc.c @@ -580,7 +580,7 @@ void ibm5160_mb_device::install_device(device_t *dev, offs_t start, offs_t end, m_maincpu->memory().space(AS_IO)->install_legacy_readwrite_handler(*dev, start, end, mask, mirror, rhandler, rhandler_name, whandler, whandler_name,0xffff); break; default: - fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported", buswidth); + fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported\n", buswidth); break; } } @@ -597,7 +597,7 @@ void ibm5160_mb_device::install_device_write(device_t *dev, offs_t start, offs_t m_maincpu->memory().space(AS_IO)->install_legacy_write_handler(*dev, start, end, mask, mirror, whandler, whandler_name, 0xffff); break; default: - fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported", buswidth); + fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported\n", buswidth); break; } } @@ -614,7 +614,7 @@ void ibm5160_mb_device::install_device(offs_t start, offs_t end, offs_t mask, of m_maincpu->memory().space(AS_IO)->install_readwrite_handler(start, end, mask, mirror, rhandler, whandler, 0xffff); break; default: - fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported", buswidth); + fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported\n", buswidth); break; } } @@ -641,7 +641,7 @@ void ibm5160_mb_device::device_start() m_maincpu->memory().space(AS_IO)->install_readwrite_handler(0x0060, 0x0063, 0, 0, read8_delegate(FUNC(i8255_device::read), (i8255_device*)m_ppi8255), write8_delegate(FUNC(i8255_device::write), (i8255_device*)m_ppi8255), 0xffff); break; default: - fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported", buswidth); + fatalerror("IBM5160_MOTHERBOARD: Bus width %d not supported\n", buswidth); break; } diff --git a/src/mess/machine/i82439tx.c b/src/mess/machine/i82439tx.c index 24d8c42af0e..e7ba2aa5945 100644 --- a/src/mess/machine/i82439tx.c +++ b/src/mess/machine/i82439tx.c @@ -130,7 +130,7 @@ UINT32 i82439tx_device::pci_read(pci_bus_device *pcibus, int function, int offse break; default: - fatalerror("i82439tx_pci_read(): Unexpected PCI read 0x%02X", offset); + fatalerror("i82439tx_pci_read(): Unexpected PCI read 0x%02X\n", offset); break; } return result; @@ -246,7 +246,7 @@ void i82439tx_device::pci_write(pci_bus_device *pcibus, int function, int offset break; default: - fatalerror("i82439tx_pci_write(): Unexpected PCI write 0x%02X <-- 0x%08X", offset, data); + fatalerror("i82439tx_pci_write(): Unexpected PCI write 0x%02X <-- 0x%08X\n", offset, data); break; } } diff --git a/src/mess/machine/isa.c b/src/mess/machine/isa.c index 7580e803051..edc4290a44d 100644 --- a/src/mess/machine/isa.c +++ b/src/mess/machine/isa.c @@ -223,7 +223,7 @@ void isa8_device::install_space(address_spacenum spacenum, offs_t start, offs_t } break; default: - fatalerror("ISA8: Bus width %d not supported", buswidth); + fatalerror("ISA8: Bus width %d not supported\n", buswidth); break; } } @@ -253,7 +253,7 @@ void isa8_device::install_space(address_spacenum spacenum, offs_t start, offs_t } break; default: - fatalerror("ISA8: Bus width %d not supported", buswidth); + fatalerror("ISA8: Bus width %d not supported\n", buswidth); break; } } @@ -283,7 +283,7 @@ void isa8_device::install_space(address_spacenum spacenum, device_t *dev, offs_t } break; default: - fatalerror("ISA8: Bus width %d not supported", buswidth); + fatalerror("ISA8: Bus width %d not supported\n", buswidth); break; } } @@ -564,7 +564,7 @@ void isa16_device::install16_device(device_t *dev, offs_t start, offs_t end, off break; default: - fatalerror("ISA16: Bus width %d not supported", buswidth); + fatalerror("ISA16: Bus width %d not supported\n", buswidth); break; } } @@ -592,7 +592,7 @@ void isa16_device::install16_device(offs_t start, offs_t end, offs_t mask, offs_ break; default: - fatalerror("ISA16: Bus width %d not supported", buswidth); + fatalerror("ISA16: Bus width %d not supported\n", buswidth); break; } } @@ -620,7 +620,7 @@ void isa16_device::install16_device(offs_t start, offs_t end, offs_t mask, offs_ break; default: - fatalerror("ISA16: Bus width %d not supported", buswidth); + fatalerror("ISA16: Bus width %d not supported\n", buswidth); break; } } diff --git a/src/mess/machine/lynx.c b/src/mess/machine/lynx.c index 63403ea9d48..0151aaf151c 100644 --- a/src/mess/machine/lynx.c +++ b/src/mess/machine/lynx.c @@ -1502,7 +1502,7 @@ static UINT32 lynx_time_factor(int val) case 4: return 62500; case 5: return 31250; case 6: return 15625; - default: fatalerror("invalid value"); + default: fatalerror("invalid value\n"); } } diff --git a/src/mess/machine/mb89352.c b/src/mess/machine/mb89352.c index be69018b20a..a5afeddeadb 100644 --- a/src/mess/machine/mb89352.c +++ b/src/mess/machine/mb89352.c @@ -191,7 +191,7 @@ int mb89352_device::get_scsi_cmd_len(UINT8 cbyte) if (group == 1 || group == 2) return 10; if (group == 5) return 12; - fatalerror("MB89352: Unknown SCSI command group %d", group); + fatalerror("MB89352: Unknown SCSI command group %d\n", group); return 6; } diff --git a/src/mess/machine/mm58274c.c b/src/mess/machine/mm58274c.c index 92518a0e3f4..d766dbd1a81 100644 --- a/src/mess/machine/mm58274c.c +++ b/src/mess/machine/mm58274c.c @@ -93,7 +93,7 @@ static attotime interrupt_period_table(int val) case 5: return attotime::from_seconds(10); case 6: return attotime::from_seconds(30); case 7: return attotime::from_seconds(60); - default: fatalerror("out of range"); + default: fatalerror("out of range\n"); } }; diff --git a/src/mess/machine/mpc105.c b/src/mess/machine/mpc105.c index 4a7dcfeb5cd..c71a73d2864 100644 --- a/src/mess/machine/mpc105.c +++ b/src/mess/machine/mpc105.c @@ -178,7 +178,7 @@ UINT32 mpc105_device::pci_read(pci_bus_device *pcibus, int function, int offset, break; default: - fatalerror("Unknown CPU"); + fatalerror("Unknown CPU\n"); break; } break; @@ -250,7 +250,7 @@ void mpc105_device::pci_write(pci_bus_device *pcibus, int function, int offset, break; case 0xA8: /* processor interface configuration 1 */ - //fatalerror("mpc105_pci_write(): Unexpected PCI write 0x%02X <-- 0x%08X", offset, data); + //fatalerror("mpc105_pci_write(): Unexpected PCI write 0x%02X <-- 0x%08X\n", offset, data); break; } } diff --git a/src/mess/machine/ncr5380.c b/src/mess/machine/ncr5380.c index d9255e53518..ca49e8b8bc6 100644 --- a/src/mess/machine/ncr5380.c +++ b/src/mess/machine/ncr5380.c @@ -60,7 +60,7 @@ static int get_cmd_len(int cbyte) if (group == 1 || group == 2) return 10; if (group == 5) return 12; - fatalerror("NCR5380: Unknown SCSI command group %d", group); + fatalerror("NCR5380: Unknown SCSI command group %d\n", group); return 6; } diff --git a/src/mess/machine/ncr5390.c b/src/mess/machine/ncr5390.c index 162ad08134e..0e7dd38c267 100644 --- a/src/mess/machine/ncr5390.c +++ b/src/mess/machine/ncr5390.c @@ -151,7 +151,7 @@ void ncr5390_device::step(bool timeout) if(win != scsi_id) { scsi_bus->data_w(scsi_refid, 0); scsi_bus->ctrl_w(scsi_refid, 0, S_ALL); - fatalerror("need to wait for bus free"); + fatalerror("need to wait for bus free\n"); break; } state = (state & STATE_MASK) | (ARB_ASSERT_SEL << SUB_SHIFT); @@ -489,7 +489,7 @@ void ncr5390_device::step(bool timeout) void ncr5390_device::send_byte() { if(!fifo_pos) - fatalerror("ncr5390_device::send_byte - !fifo_pos"); + fatalerror("ncr5390_device::send_byte - !fifo_pos\n"); state = (state & STATE_MASK) | (SEND_WAIT_SETTLE << SUB_SHIFT); if((state & STATE_MASK) != INIT_XFR_SEND_PAD && diff --git a/src/mess/machine/nes.c b/src/mess/machine/nes.c index 90aaf95b693..68b6884825e 100644 --- a/src/mess/machine/nes.c +++ b/src/mess/machine/nes.c @@ -1252,7 +1252,7 @@ DEVICE_IMAGE_LOAD( nes_cart ) { auto_free(image.device().machine(), temp_prg); auto_free(image.device().machine(), temp_chr); - fatalerror("UNIF should have a [MAPR] chunk to work. Check if your image has been corrupted"); + fatalerror("UNIF should have a [MAPR] chunk to work. Check if your image has been corrupted\n"); } if (!prg_start) @@ -1341,9 +1341,9 @@ DEVICE_IMAGE_LOAD( nes_cart ) // validate the xml fields if (!prg_size) - fatalerror("No PRG entry for this software! Please check if the xml list got corrupted"); + fatalerror("No PRG entry for this software! Please check if the xml list got corrupted\n"); if (prg_size < 0x8000) - fatalerror("PRG entry is too small! Please check if the xml list got corrupted"); + fatalerror("PRG entry is too small! Please check if the xml list got corrupted\n"); // Allocate class pointers for PRG/VROM/VRAM/WRAM and copy data there from the temp copies state->m_prg = auto_alloc_array(image.device().machine(), UINT8, prg_size); diff --git a/src/mess/machine/nes_ines.c b/src/mess/machine/nes_ines.c index cb0850d7bed..3519b22882d 100644 --- a/src/mess/machine/nes_ines.c +++ b/src/mess/machine/nes_ines.c @@ -459,7 +459,7 @@ int nes_get_mmc_id( running_machine &machine, int mapper ) const nes_mmc *mmc = nes_mapper_lookup(mapper); if (mmc == NULL) - fatalerror("Unimplemented Mapper %d", mapper); + fatalerror("Unimplemented Mapper %d\n", mapper); return mmc->pcb_id; } diff --git a/src/mess/machine/nes_mmc.c b/src/mess/machine/nes_mmc.c index c427aa6f66f..68955202724 100644 --- a/src/mess/machine/nes_mmc.c +++ b/src/mess/machine/nes_mmc.c @@ -396,10 +396,10 @@ INLINE void chr_sanity_check( running_machine &machine, int source ) nes_state *state = machine.driver_data<nes_state>(); if (source == CHRRAM && state->m_vram == NULL) - fatalerror("CHRRAM bankswitch with no VRAM"); + fatalerror("CHRRAM bankswitch with no VRAM\n"); if (source == CHRROM && state->m_vrom == NULL) - fatalerror("CHRROM bankswitch with no VROM"); + fatalerror("CHRROM bankswitch with no VROM\n"); } static void chr8( running_machine &machine, int bank, int source ) diff --git a/src/mess/machine/nes_pcb.c b/src/mess/machine/nes_pcb.c index 05670c8abe7..44398635c90 100644 --- a/src/mess/machine/nes_pcb.c +++ b/src/mess/machine/nes_pcb.c @@ -1852,7 +1852,7 @@ static void mmc5_ppu_mirror( running_machine &machine, int page, int src ) set_nt_page(machine, page, MMC5FILL, 0, 0); break; default: - fatalerror("This should never happen"); + fatalerror("This should never happen\n"); break; } } diff --git a/src/mess/machine/nes_unif.c b/src/mess/machine/nes_unif.c index f7ff44d90ca..83f8a937921 100644 --- a/src/mess/machine/nes_unif.c +++ b/src/mess/machine/nes_unif.c @@ -160,7 +160,7 @@ void unif_mapr_setup( running_machine &machine, const char *board ) logerror("%s\n", board); if (unif_board == NULL) - fatalerror("Unknown UNIF board %s.", board); + fatalerror("Unknown UNIF board %s.\n", board); state->m_pcb_id = unif_board->board_idx; state->m_battery = unif_board->nvwram; // we should implement battery banks based on the size of this... diff --git a/src/mess/machine/nubus.c b/src/mess/machine/nubus.c index f8bfde9ec1e..f7fc7aa08f9 100644 --- a/src/mess/machine/nubus.c +++ b/src/mess/machine/nubus.c @@ -152,7 +152,7 @@ void nubus_device::install_device(offs_t start, offs_t end, read8_delegate rhand m_maincpu->memory().space(AS_PROGRAM)->install_readwrite_handler(start, end, rhandler, whandler, ((UINT64)mask<<32)|mask); break; default: - fatalerror("NUBUS: Bus width %d not supported", buswidth); + fatalerror("NUBUS: Bus width %d not supported\n", buswidth); break; } } @@ -170,7 +170,7 @@ void nubus_device::install_device(offs_t start, offs_t end, read16_delegate rhan m_maincpu->memory().space(AS_PROGRAM)->install_readwrite_handler(start, end, rhandler, whandler, ((UINT64)mask<<32)|mask); break; default: - fatalerror("NUBUS: Bus width %d not supported", buswidth); + fatalerror("NUBUS: Bus width %d not supported\n", buswidth); break; } } @@ -188,7 +188,7 @@ void nubus_device::install_device(offs_t start, offs_t end, read32_delegate rhan m_maincpu->memory().space(AS_PROGRAM)->install_readwrite_handler(start, end, rhandler, whandler, ((UINT64)mask<<32)|mask); break; default: - fatalerror("NUBUS: Bus width %d not supported", buswidth); + fatalerror("NUBUS: Bus width %d not supported\n", buswidth); break; } } @@ -206,7 +206,7 @@ void nubus_device::install_readonly_device(offs_t start, offs_t end, read32_dele m_maincpu->memory().space(AS_PROGRAM)->install_read_handler(start, end, rhandler, ((UINT64)mask<<32)|mask); break; default: - fatalerror("NUBUS: Bus width %d not supported", buswidth); + fatalerror("NUBUS: Bus width %d not supported\n", buswidth); break; } } @@ -224,7 +224,7 @@ void nubus_device::install_writeonly_device(offs_t start, offs_t end, write32_de m_maincpu->memory().space(AS_PROGRAM)->install_write_handler(start, end, whandler, ((UINT64)mask<<32)|mask); break; default: - fatalerror("NUBUS: Bus width %d not supported", buswidth); + fatalerror("NUBUS: Bus width %d not supported\n", buswidth); break; } } diff --git a/src/mess/machine/s3c44b0.c b/src/mess/machine/s3c44b0.c index a61c8371363..47d271dcd96 100644 --- a/src/mess/machine/s3c44b0.c +++ b/src/mess/machine/s3c44b0.c @@ -377,7 +377,7 @@ static void s3c44b0_lcd_configure( device_t *device) case S3C44B0_PNRMODE_STN_04_SS : width = ((hozval + 1) * 4); break; case S3C44B0_PNRMODE_STN_04_DS : width = ((hozval + 1) * 4); break; case S3C44B0_PNRMODE_STN_08_SS : width = ((hozval + 1) * 8); break; - default : fatalerror( "invalid display mode (%d)", dismode); break; + default : fatalerror( "invalid display mode (%d)\n", dismode); break; } height = lineval + 1; lcd->framerate = framerate; @@ -862,7 +862,7 @@ static TIMER_CALLBACK( s3c44b0_pwm_timer_exp ) verboselog( machine, 2, "PWM %d timer callback\n", ch); if (BITS( s3c44b0->pwm.regs.tcfg1, 27, 24) == (ch + 1)) { - fatalerror( "s3c44b0_dma_request_pwm( device);"); + fatalerror( "s3c44b0_dma_request_pwm( device)\n"); } else { |