Previous 199869 Revisions Next

r24068 Thursday 4th July, 2013 at 13:21:24 UTC by Oliver Stöneberg
core validation message were never shown (nw)
[src/emu]validity.c

trunk/src/emu/validity.c
r24067r24068
216216   validate_core();
217217   validate_inlines();
218218
219   // if we had warnings or errors, output
220   if (m_errors > 0 || m_warnings > 0)
221   {
222      astring tempstr;
223      output_via_delegate(m_saved_error_output, "Core: %d errors, %d warnings\n", m_errors, m_warnings);
224      if (m_errors > 0)
225      {
226         m_error_text.replace("\n", "\n   ");
227         output_via_delegate(m_saved_error_output, "Errors:\n   %s", m_error_text.cstr());
228      }
229      if (m_warnings > 0)
230      {
231         m_warning_text.replace("\n", "\n   ");
232         output_via_delegate(m_saved_error_output, "Warnings:\n   %s", m_warning_text.cstr());
233      }
234      output_via_delegate(m_saved_error_output, "\n");
235   }
236
219237   // then iterate over all drivers and check them
220238   m_drivlist.reset();
221239   while (m_drivlist.next())

Previous 199869 Revisions Next


© 1997-2024 The MAME Team