- diff -Nru mame-clean/src/emu/debugint/debugint.c mame/src/emu/debugint/debugint.c
- --- mame-clean/src/emu/debugint/debugint.c 2010-10-14 19:10:40.000000000 -0400
- +++ mame/src/emu/debugint/debugint.c 2010-10-14 17:49:54.000000000 -0400
- @@ -956,7 +956,7 @@
- downcast<debug_view_disasm *>(dv->view)->set_expression(str);
- break;
- case DVT_CONSOLE:
- - if(!dv->editor.str[0])
- + if(!dv->editor.str[(long)0])
- debug_cpu_get_visible_cpu(dv->machine)->debug()->single_step();
- else
- debug_console_execute_command(dv->machine, str, 1);
- diff -Nru mame-clean/src/emu/devintrf.h mame/src/emu/devintrf.h
- --- mame-clean/src/emu/devintrf.h 2010-10-14 19:10:40.000000000 -0400
- +++ mame/src/emu/devintrf.h 2010-10-14 17:15:49.000000000 -0400
- @@ -545,7 +545,7 @@
- {
- public:
- optional_device(device_t &base, const char *tag) : auto_finder_type<_DeviceClass *, false>(base, tag) { }
- - virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(find_device(base, this->m_tag))); }
- + virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(this->find_device(base, this->m_tag))); }
- };
- // required devices are similar but throw an error if they are not found
- @@ -554,7 +554,7 @@
- {
- public:
- required_device(device_t &base, const char *tag) : auto_finder_type<_DeviceClass *, true>(base, tag) { }
- - virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(find_device(base, this->m_tag))); }
- + virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(this->find_device(base, this->m_tag))); }
- };
- // optional shared pointer finder
- @@ -563,7 +563,7 @@
- {
- public:
- optional_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, false>(base, tag) { }
- - virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(find_shared_ptr(base, this->m_tag))); }
- + virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(this->find_shared_ptr(base, this->m_tag))); }
- };
- // required shared pointer finder
- @@ -572,7 +572,7 @@
- {
- public:
- required_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, true>(base, tag) { }
- - virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(find_shared_ptr(base, this->m_tag))); }
- + virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(this->find_shared_ptr(base, this->m_tag))); }
- };
- // optional shared pointer size finder
- diff -Nru mame-clean/src/emu/emualloc.h mame/src/emu/emualloc.h
- --- mame-clean/src/emu/emualloc.h 2010-10-14 19:10:40.000000000 -0400
- +++ mame/src/emu/emualloc.h 2010-10-14 17:13:35.000000000 -0400
- @@ -220,13 +220,13 @@
- return result;
- }
- -inline void operator delete(void *ptr)
- +inline void operator delete(void *ptr) throw()
- {
- if (ptr != NULL)
- free_file_line(ptr, NULL, 0);
- }
- -inline void operator delete[](void *ptr)
- +inline void operator delete[](void *ptr) throw()
- {
- if (ptr != NULL)
- free_file_line(ptr, NULL, 0);