summaryrefslogtreecommitdiffstatshomepage
path: root/src/mame
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2012-09-09 07:09:46 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2012-09-09 07:09:46 +0000
commitdf7f494dbacb218c543eb11c9add8cf1c828171a (patch)
tree2162cea9eb10e55e94fa0482628e5d047498ca71 /src/mame
parent8cf19f400c94effec2affe97bc5ae80a865a40cd (diff)
added missing \n to remaining fatalerror() calls (no whatsnew)
Diffstat (limited to 'src/mame')
-rw-r--r--src/mame/video/atarisy1.c2
-rw-r--r--src/mame/video/decospr.c4
-rw-r--r--src/mame/video/dkong.c4
-rw-r--r--src/mame/video/gaelco3d.c2
-rw-r--r--src/mame/video/galaxold.c2
-rw-r--r--src/mame/video/gticlub.c2
-rw-r--r--src/mame/video/konamiic.c4
-rw-r--r--src/mame/video/konicdev.c20
-rw-r--r--src/mame/video/leland.c2
-rw-r--r--src/mame/video/model3.c10
-rw-r--r--src/mame/video/n64.c6
-rw-r--r--src/mame/video/namcos22.c4
-rw-r--r--src/mame/video/segaic16.c12
-rw-r--r--src/mame/video/snk.c4
14 files changed, 39 insertions, 39 deletions
diff --git a/src/mame/video/atarisy1.c b/src/mame/video/atarisy1.c
index c2d5e21ef33..dbe1cd9319a 100644
--- a/src/mame/video/atarisy1.c
+++ b/src/mame/video/atarisy1.c
@@ -674,7 +674,7 @@ static int get_bank(running_machine &machine, UINT8 prom1, UINT8 prom2, int bpp)
break;
default:
- fatalerror("Unsupported bpp");
+ fatalerror("Unsupported bpp\n");
}
/* set the color information */
diff --git a/src/mame/video/decospr.c b/src/mame/video/decospr.c
index 91e00709b04..ac3092277c1 100644
--- a/src/mame/video/decospr.c
+++ b/src/mame/video/decospr.c
@@ -207,7 +207,7 @@ void decospr_device::draw_sprites_common(_BitmapClass &bitmap, const rectangle &
//printf("cliprect %04x, %04x\n", cliprect.min_y, cliprect.max_y);
if (m_sprite_bitmap.valid() && m_pricallback)
- fatalerror("m_sprite_bitmap && m_pricallback is invalid");
+ fatalerror("m_sprite_bitmap && m_pricallback is invalid\n");
if (m_sprite_bitmap.valid())
m_sprite_bitmap.fill(0, cliprect);
@@ -565,7 +565,7 @@ void decospr_device::draw_sprites(bitmap_rgb32 &bitmap, const rectangle &cliprec
void decospr_device::inefficient_copy_sprite_bitmap(bitmap_rgb32 &bitmap, const rectangle &cliprect, UINT16 pri, UINT16 priority_mask, UINT16 colbase, UINT16 palmask, UINT8 alpha)
{
if (!m_sprite_bitmap.valid())
- fatalerror("decospr_device::inefficient_copy_sprite_bitmap with no m_sprite_bitmap");
+ fatalerror("decospr_device::inefficient_copy_sprite_bitmap with no m_sprite_bitmap\n");
int y, x;
const pen_t *paldata = machine().pens;
diff --git a/src/mame/video/dkong.c b/src/mame/video/dkong.c
index 361bee35a85..dd64f055dc9 100644
--- a/src/mame/video/dkong.c
+++ b/src/mame/video/dkong.c
@@ -954,7 +954,7 @@ VIDEO_START( dkong )
break;
default:
- fatalerror("Invalid hardware type in dkong_video_start");
+ fatalerror("Invalid hardware type in dkong_video_start\n");
}
}
@@ -981,7 +981,7 @@ SCREEN_UPDATE_IND16( dkong )
radarscp_draw_background(screen.machine(), state, bitmap, cliprect);
break;
default:
- fatalerror("Invalid hardware type in dkong_video_update");
+ fatalerror("Invalid hardware type in dkong_video_update\n");
}
return 0;
}
diff --git a/src/mame/video/gaelco3d.c b/src/mame/video/gaelco3d.c
index c2042306430..8de62e9c6a7 100644
--- a/src/mame/video/gaelco3d.c
+++ b/src/mame/video/gaelco3d.c
@@ -378,7 +378,7 @@ WRITE32_MEMBER(gaelco3d_state::gaelco3d_render_w)
/* append the data to our buffer */
m_polydata_buffer[m_polydata_count++] = data;
if (m_polydata_count >= MAX_POLYDATA)
- fatalerror("Out of polygon buffer &space!");
+ fatalerror("Out of polygon buffer &space!\n");
/* if we've accumulated a completed poly set of data, queue it */
if (!machine().video().skip_this_frame())
diff --git a/src/mame/video/galaxold.c b/src/mame/video/galaxold.c
index 92c0d00945f..451a1b547a3 100644
--- a/src/mame/video/galaxold.c
+++ b/src/mame/video/galaxold.c
@@ -1443,7 +1443,7 @@ void galaxold_init_stars(running_machine &machine, int colors_offset)
if (total_stars != STAR_COUNT)
{
- fatalerror("total_stars = %d, STAR_COUNT = %d",total_stars,STAR_COUNT);
+ fatalerror("total_stars = %d, STAR_COUNT = %d\n",total_stars,STAR_COUNT);
}
}
diff --git a/src/mame/video/gticlub.c b/src/mame/video/gticlub.c
index af7067e6fd2..7146d517036 100644
--- a/src/mame/video/gticlub.c
+++ b/src/mame/video/gticlub.c
@@ -105,7 +105,7 @@ static UINT32 K001006_r(running_machine &machine, int chip, int offset, UINT32 m
}
default:
{
- fatalerror("K001006_r chip %d, unknown device %02X", chip, K001006_device_sel[chip]);
+ fatalerror("K001006_r chip %d, unknown device %02X\n", chip, K001006_device_sel[chip]);
}
}
}
diff --git a/src/mame/video/konamiic.c b/src/mame/video/konamiic.c
index 4d6586adf19..b70af100aea 100644
--- a/src/mame/video/konamiic.c
+++ b/src/mame/video/konamiic.c
@@ -1330,7 +1330,7 @@ void K055673_vh_start(running_machine &machine, const char *gfx_memory_region, i
break;
default:
- fatalerror("Unsupported layout");
+ fatalerror("Unsupported layout\n");
}
if (VERBOSE && !(machine.config().m_video_attributes & VIDEO_HAS_SHADOWS))
@@ -2111,7 +2111,7 @@ void K056832_vh_start(running_machine &machine, const char *gfx_memory_region, i
break;
default:
- fatalerror("Unsupported bpp");
+ fatalerror("Unsupported bpp\n");
}
machine.gfx[gfx_index]->set_granularity(16); /* override */
diff --git a/src/mame/video/konicdev.c b/src/mame/video/konicdev.c
index 07130be662b..115869e0b8c 100644
--- a/src/mame/video/konicdev.c
+++ b/src/mame/video/konicdev.c
@@ -1172,7 +1172,7 @@ static void konami_shuffle_16(UINT16 *buf,int len)
if (len == 2) return;
- if (len % 4) fatalerror("shuffle() - not modulo 4"); /* must not happen */
+ if (len % 4) fatalerror("shuffle() - not modulo 4\n"); /* must not happen */
len /= 2;
@@ -1194,7 +1194,7 @@ static void konami_shuffle_8(UINT8 *buf,int len)
if (len == 2) return;
- if (len % 4) fatalerror("shuffle() - not modulo 4"); /* must not happen */
+ if (len % 4) fatalerror("shuffle() - not modulo 4\n"); /* must not happen */
len /= 2;
@@ -2820,7 +2820,7 @@ void k052109_device::device_start()
break;
default:
- fatalerror("Unsupported plane_order");
+ fatalerror("Unsupported plane_order\n");
}
/* deinterleave the graphics, if needed */
@@ -3383,7 +3383,7 @@ static DEVICE_START( k051960 )
break;
default:
- fatalerror("Unknown plane_order");
+ fatalerror("Unknown plane_order\n");
}
if (VERBOSE && !(machine.config().m_video_attributes & VIDEO_HAS_SHADOWS))
@@ -4221,7 +4221,7 @@ static DEVICE_START( k05324x )
break;
default:
- fatalerror("Unsupported plane_order");
+ fatalerror("Unsupported plane_order\n");
}
if (VERBOSE && !(machine.config().m_video_attributes & VIDEO_HAS_SHADOWS))
@@ -5099,7 +5099,7 @@ static DEVICE_START( k053247 )
break;
default:
- fatalerror("Unsupported plane_order");
+ fatalerror("Unsupported plane_order\n");
}
if (VERBOSE)
@@ -5236,7 +5236,7 @@ static DEVICE_START( k055673 )
break;
default:
- fatalerror("Unsupported layout");
+ fatalerror("Unsupported layout\n");
}
if (VERBOSE && !(machine.config().m_video_attributes & VIDEO_HAS_SHADOWS))
@@ -5648,7 +5648,7 @@ void k051316_device::device_start()
break;
default:
- fatalerror("Unsupported bpp");
+ fatalerror("Unsupported bpp\n");
}
k051316->memory_region = intf->gfx_memory_region;
@@ -8339,7 +8339,7 @@ void k056832_device::device_start()
break;
default:
- fatalerror("Unsupported bpp");
+ fatalerror("Unsupported bpp\n");
}
machine().gfx[intf->gfx_num]->set_granularity(16); /* override */
@@ -9038,7 +9038,7 @@ READ32_DEVICE_HANDLER( k001006_r )
}
default:
{
- fatalerror("k001006_r, unknown device %02X", k001006->device_sel);
+ fatalerror("k001006_r, unknown device %02X\n", k001006->device_sel);
}
}
}
diff --git a/src/mame/video/leland.c b/src/mame/video/leland.c
index 62410001efe..0e93a8fad05 100644
--- a/src/mame/video/leland.c
+++ b/src/mame/video/leland.c
@@ -112,7 +112,7 @@ WRITE8_MEMBER(leland_state::leland_scroll_w)
break;
default:
- fatalerror("Unexpected leland_gfx_port_w");
+ fatalerror("Unexpected leland_gfx_port_w\n");
break;
}
}
diff --git a/src/mame/video/model3.c b/src/mame/video/model3.c
index 978f297ab04..148e1449416 100644
--- a/src/mame/video/model3.c
+++ b/src/mame/video/model3.c
@@ -747,7 +747,7 @@ static void real3d_upload_texture(running_machine &machine, UINT32 header, UINT3
case 0x80: /* Gamma-table ? */
break;
default:
- fatalerror("Unknown texture type: %02X: ", header >> 24);
+ fatalerror("Unknown texture type: %02X\n", header >> 24);
break;
}
}
@@ -940,7 +940,7 @@ static void push_matrix_stack(model3_state *state)
{
state->m_matrix_stack_ptr++;
if (state->m_matrix_stack_ptr >= MATRIX_STACK_SIZE)
- fatalerror("push_matrix_stack: matrix stack overflow");
+ fatalerror("push_matrix_stack: matrix stack overflow\n");
memcpy( &state->m_matrix_stack[state->m_matrix_stack_ptr], &state->m_matrix_stack[state->m_matrix_stack_ptr-1], sizeof(MATRIX));
}
@@ -949,7 +949,7 @@ static void pop_matrix_stack(model3_state *state)
{
state->m_matrix_stack_ptr--;
if (state->m_matrix_stack_ptr < 0)
- fatalerror("pop_matrix_stack: matrix stack underflow");
+ fatalerror("pop_matrix_stack: matrix stack underflow\n");
}
static void multiply_matrix_stack(model3_state *state, MATRIX matrix)
@@ -1338,14 +1338,14 @@ static UINT32 *get_memory_pointer(model3_state *state, UINT32 address)
if (address & 0x800000)
{
if (address >= 0x840000) {
- fatalerror("get_memory_pointer: invalid display list memory address %08X", address);
+ fatalerror("get_memory_pointer: invalid display list memory address %08X\n", address);
}
return &state->m_display_list_ram[address & 0x7fffff];
}
else
{
if (address >= 0x100000) {
- fatalerror("get_memory_pointer: invalid node ram address %08X", address);
+ fatalerror("get_memory_pointer: invalid node ram address %08X\n", address);
}
return &state->m_culling_ram[address];
}
diff --git a/src/mame/video/n64.c b/src/mame/video/n64.c
index d6e716abcba..17d6cfb0054 100644
--- a/src/mame/video/n64.c
+++ b/src/mame/video/n64.c
@@ -3031,7 +3031,7 @@ void n64_rdp::CmdLoadTLUT(UINT32 w1, UINT32 w2)
if (tl != th)
{
- fatalerror("Load tlut: tl=%d, th=%d",tl,th);
+ fatalerror("Load tlut: tl=%d, th=%d\n",tl,th);
}
int count = (sh >> 2) - (sl >> 2) + 1;
@@ -3043,7 +3043,7 @@ void n64_rdp::CmdLoadTLUT(UINT32 w1, UINT32 w2)
{
if (tile[tilenum].tmem < 256)
{
- fatalerror("rdp_load_tlut: loading tlut into low half at %d qwords",tile[tilenum].tmem);
+ fatalerror("rdp_load_tlut: loading tlut into low half at %d qwords\n",tile[tilenum].tmem);
}
UINT32 srcstart = (MiscState.TIAddress + (tl >> 2) * (MiscState.TIWidth << 1) + (sl >> 1)) >> 1;
UINT16 *dst = GetTMEM16();
@@ -3095,7 +3095,7 @@ void n64_rdp::CmdLoadBlock(UINT32 w1, UINT32 w2)
if (sh < sl)
{
- fatalerror("load_block: sh < sl");
+ fatalerror("load_block: sh < sl\n");
}
INT32 width = (sh - sl) + 1;
diff --git a/src/mame/video/namcos22.c b/src/mame/video/namcos22.c
index b21e639ec57..b143d21996d 100644
--- a/src/mame/video/namcos22.c
+++ b/src/mame/video/namcos22.c
@@ -1153,7 +1153,7 @@ static void RenderSceneHelper(running_machine &machine, bitmap_rgb32 &bitmap, st
break;
default:
- fatalerror("invalid node->type");
+ fatalerror("invalid node->type\n");
break;
}
FreeSceneNode( node );
@@ -2324,7 +2324,7 @@ BlitQuads( running_machine &machine, bitmap_rgb32 &bitmap, INT32 addr, float m[4
int finish = addr + chunkLength;
if( chunkLength>0x100 )
- fatalerror( "bad packet length" );
+ fatalerror( "bad packet length\n" );
while( addr<finish )
{
diff --git a/src/mame/video/segaic16.c b/src/mame/video/segaic16.c
index 8bae8496429..4ba1a1fa6f8 100644
--- a/src/mame/video/segaic16.c
+++ b/src/mame/video/segaic16.c
@@ -1042,7 +1042,7 @@ void segaic16_tilemap_init(running_machine &machine, int which, int type, int co
break;
default:
- fatalerror("Invalid tilemap index specified in segaic16_tilemap_init");
+ fatalerror("Invalid tilemap index specified in segaic16_tilemap_init\n");
}
/* determine the parameters of the tilemaps */
@@ -1085,7 +1085,7 @@ void segaic16_tilemap_init(running_machine &machine, int which, int type, int co
break;
default:
- fatalerror("Invalid tilemap type specified in segaic16_tilemap_init");
+ fatalerror("Invalid tilemap type specified in segaic16_tilemap_init\n");
}
/* create the tilemap for the text layer */
@@ -1798,7 +1798,7 @@ void segaic16_road_init(running_machine &machine, int which, int type, int color
break;
default:
- fatalerror("Invalid road index specified in segaic16_road_init");
+ fatalerror("Invalid road index specified in segaic16_road_init\n");
}
/* determine the parameters of the road */
@@ -1818,7 +1818,7 @@ void segaic16_road_init(running_machine &machine, int which, int type, int color
break;
default:
- fatalerror("Invalid road system specified in segaic16_road_init");
+ fatalerror("Invalid road system specified in segaic16_road_init\n");
}
}
@@ -1903,7 +1903,7 @@ void segaic16_rotate_init(running_machine &machine, int which, int type, int col
break;
default:
- fatalerror("Invalid rotate index specified in segaic16_rotate_init");
+ fatalerror("Invalid rotate index specified in segaic16_rotate_init\n");
}
/* determine the parameters of the rotate */
@@ -1914,7 +1914,7 @@ void segaic16_rotate_init(running_machine &machine, int which, int type, int col
break;
default:
- fatalerror("Invalid rotate system specified in segaic16_rotate_init");
+ fatalerror("Invalid rotate system specified in segaic16_rotate_init\n");
}
/* allocate a buffer for swapping */
diff --git a/src/mame/video/snk.c b/src/mame/video/snk.c
index 8a86172f8aa..b81fcc7012d 100644
--- a/src/mame/video/snk.c
+++ b/src/mame/video/snk.c
@@ -187,7 +187,7 @@ static VIDEO_START( snk_3bpp_shadow )
int i;
if(!(machine.config().m_video_attributes & VIDEO_HAS_SHADOWS))
- fatalerror("driver should use VIDEO_HAS_SHADOWS");
+ fatalerror("driver should use VIDEO_HAS_SHADOWS\n");
/* prepare shadow draw table */
for(i = 0; i <= 5; i++) state->m_drawmode_table[i] = DRAWMODE_SOURCE;
@@ -204,7 +204,7 @@ static VIDEO_START( snk_4bpp_shadow )
int i;
if(!(machine.config().m_video_attributes & VIDEO_HAS_SHADOWS))
- fatalerror("driver should use VIDEO_HAS_SHADOWS");
+ fatalerror("driver should use VIDEO_HAS_SHADOWS\n");
/* prepare shadow draw table */
for(i = 0; i <= 13; i++) state->m_drawmode_table[i] = DRAWMODE_SOURCE;