Previous 199869 Revisions Next

r32000 Monday 8th September, 2014 at 19:12:15 UTC by Oliver Stöneberg
unregister OSD_OUTPUT_CHANNEL hooks when validity_checker is destroyed - fixes logging of unhandled exceptions in validation (nw)
[src/emu]validity.c validity.h

trunk/src/emu/validity.c
r31999r32000
141141   }
142142}
143143
144//-------------------------------------------------
145//  validity_checker - destructor
146//-------------------------------------------------
144147
148validity_checker::~validity_checker()
149{
150   validate_end();
151}
152
145153//-------------------------------------------------
146154//  check_driver - check a single driver
147155//-------------------------------------------------
r31999r32000
343351   if (sizeof(void *) != 4) osd_printf_error("PTR64 flag not enabled, but was compiled for 64-bit target\n");
344352#endif
345353
354   // TODO: check if this is actually working
346355   // check endianness definition
347356   UINT16 lsbtest = 0;
348357   *(UINT8 *)&lsbtest = 0xff;
trunk/src/emu/validity.h
r31999r32000
3434
3535public:
3636   validity_checker(emu_options &options);
37   ~validity_checker();
3738
3839   // getters
3940   int errors() const { return m_errors; }

Previous 199869 Revisions Next


© 1997-2024 The MAME Team