summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/save.c
diff options
context:
space:
mode:
author Oliver Stöneberg <firewave@users.noreply.github.com>2012-09-08 12:52:35 +0000
committer Oliver Stöneberg <firewave@users.noreply.github.com>2012-09-08 12:52:35 +0000
commit512acc5bd6dadf8c6ba906ec937ac7dd9da06200 (patch)
tree9f397b58a133edfc988b85e2a7ac9f04f501e205 /src/emu/save.c
parent44cd4a476a03b9eb5dc10e6a1b2e64e6566e811d (diff)
added missing \n to even more fatalerror() calls (no whatsnew)
Diffstat (limited to 'src/emu/save.c')
-rw-r--r--src/emu/save.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/emu/save.c b/src/emu/save.c
index 15505eb1de7..c437f44bd81 100644
--- a/src/emu/save.c
+++ b/src/emu/save.c
@@ -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