added missing \n to some fatalerror() calls (no whatsnew)

This commit is contained in:
Oliver Stöneberg 2012-08-18 11:25:01 +00:00
parent 68371b09ff
commit 06ba8ecf43
4 changed files with 8 additions and 8 deletions

View File

@ -139,7 +139,7 @@ void mini_osd_interface::init(running_machine &machine)
// let's pretend like we have a keyboard device // let's pretend like we have a keyboard device
keyboard_device = machine.input().device_class(DEVICE_CLASS_KEYBOARD).add_device("Keyboard"); keyboard_device = machine.input().device_class(DEVICE_CLASS_KEYBOARD).add_device("Keyboard");
if (keyboard_device == NULL) if (keyboard_device == NULL)
fatalerror("Error creating keyboard device"); fatalerror("Error creating keyboard device\n");
// our faux keyboard only has a couple of keys (corresponding to the // our faux keyboard only has a couple of keys (corresponding to the
// common defaults) // common defaults)

View File

@ -796,7 +796,7 @@ static int draw13_window_draw(sdl_window_info *window, UINT32 dc, int update)
round_nearest(vofs + prim->bounds.y0)); round_nearest(vofs + prim->bounds.y0));
break; break;
default: default:
throw emu_fatalerror("Unexpected render_primitive type"); throw emu_fatalerror("Unexpected render_primitive type\n");
} }
} }

View File

@ -2779,7 +2779,7 @@ static file_error open_next(d3d_info *d3d, emu_file &file, const char *templ, co
end = snapstr.len(); end = snapstr.len();
if (end - pos < 3) 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 // copy the device name to an astring
astring snapdevname; astring snapdevname;

View File

@ -238,7 +238,7 @@ void winwindow_init(running_machine &machine)
// create an event to signal UI pausing // create an event to signal UI pausing
ui_pause_event = CreateEvent(NULL, TRUE, FALSE, NULL); ui_pause_event = CreateEvent(NULL, TRUE, FALSE, NULL);
if (!ui_pause_event) if (!ui_pause_event)
fatalerror("Failed to create pause event"); fatalerror("Failed to create pause event\n");
// if multithreading, create a thread to run the windows // if multithreading, create a thread to run the windows
if (multithreading_enabled) if (multithreading_enabled)
@ -246,13 +246,13 @@ void winwindow_init(running_machine &machine)
// create an event to signal when the window thread is ready // create an event to signal when the window thread is ready
window_thread_ready_event = CreateEvent(NULL, TRUE, FALSE, NULL); window_thread_ready_event = CreateEvent(NULL, TRUE, FALSE, NULL);
if (!window_thread_ready_event) if (!window_thread_ready_event)
fatalerror("Failed to create window thread ready event"); fatalerror("Failed to create window thread ready event\n");
// create a thread to run the windows from // create a thread to run the windows from
temp = _beginthreadex(NULL, 0, thread_entry, NULL, 0, (unsigned *)&window_threadid); temp = _beginthreadex(NULL, 0, thread_entry, NULL, 0, (unsigned *)&window_threadid);
window_thread = (HANDLE)temp; window_thread = (HANDLE)temp;
if (window_thread == NULL) if (window_thread == NULL)
fatalerror("Failed to create window thread"); fatalerror("Failed to create window thread\n");
// set the thread priority equal to the main MAME thread // set the thread priority equal to the main MAME thread
SetThreadPriority(window_thread, GetThreadPriority(GetCurrentThread())); SetThreadPriority(window_thread, GetThreadPriority(GetCurrentThread()));
@ -711,7 +711,7 @@ void winwindow_video_window_create(running_machine &machine, int index, win_moni
// handle error conditions // handle error conditions
if (window->init_state == -1) if (window->init_state == -1)
fatalerror("Unable to complete window creation"); fatalerror("Unable to complete window creation\n");
} }
@ -880,7 +880,7 @@ static void create_window_class(void)
// register the class; fail if we can't // register the class; fail if we can't
if (!RegisterClass(&wc)) if (!RegisterClass(&wc))
fatalerror("Failed to create window class"); fatalerror("Failed to create window class\n");
classes_created = TRUE; classes_created = TRUE;
} }
} }