Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on May 21st, 2012  |  syntax: None  |  size: 3.09 KB  |  hits: 14  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. diff -Nru mame-clean/src/emu/debugint/debugint.c mame/src/emu/debugint/debugint.c
  2. --- mame-clean/src/emu/debugint/debugint.c      2010-10-14 19:10:40.000000000 -0400
  3. +++ mame/src/emu/debugint/debugint.c    2010-10-14 17:49:54.000000000 -0400
  4. @@ -956,7 +956,7 @@
  5.                 downcast<debug_view_disasm *>(dv->view)->set_expression(str);
  6.                 break;
  7.         case DVT_CONSOLE:
  8. -               if(!dv->editor.str[0])
  9. +               if(!dv->editor.str[(long)0])
  10.                         debug_cpu_get_visible_cpu(dv->machine)->debug()->single_step();
  11.                 else
  12.                         debug_console_execute_command(dv->machine, str, 1);
  13. diff -Nru mame-clean/src/emu/devintrf.h mame/src/emu/devintrf.h
  14. --- mame-clean/src/emu/devintrf.h       2010-10-14 19:10:40.000000000 -0400
  15. +++ mame/src/emu/devintrf.h     2010-10-14 17:15:49.000000000 -0400
  16. @@ -545,7 +545,7 @@
  17.         {
  18.         public:
  19.                 optional_device(device_t &base, const char *tag) : auto_finder_type<_DeviceClass *, false>(base, tag) { }
  20. -               virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(find_device(base, this->m_tag))); }
  21. +               virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(this->find_device(base, this->m_tag))); }
  22.         };
  23.  
  24.         // required devices are similar but throw an error if they are not found
  25. @@ -554,7 +554,7 @@
  26.         {
  27.         public:
  28.                 required_device(device_t &base, const char *tag) : auto_finder_type<_DeviceClass *, true>(base, tag) { }
  29. -               virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(find_device(base, this->m_tag))); }
  30. +               virtual void findit(device_t &base) { this->set_target(downcast<_DeviceClass *>(this->find_device(base, this->m_tag))); }
  31.         };
  32.  
  33.         // optional shared pointer finder
  34. @@ -563,7 +563,7 @@
  35.         {
  36.         public:
  37.                 optional_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, false>(base, tag) { }
  38. -               virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(find_shared_ptr(base, this->m_tag))); }
  39. +               virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(this->find_shared_ptr(base, this->m_tag))); }
  40.         };
  41.  
  42.         // required shared pointer finder
  43. @@ -572,7 +572,7 @@
  44.         {
  45.         public:
  46.                 required_shared_ptr(device_t &base, const char *tag) : auto_finder_type<_PointerType *, true>(base, tag) { }
  47. -               virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(find_shared_ptr(base, this->m_tag))); }
  48. +               virtual void findit(device_t &base) { this->set_target(reinterpret_cast<_PointerType *>(this->find_shared_ptr(base, this->m_tag))); }
  49.         };
  50.  
  51.         // optional shared pointer size finder
  52. diff -Nru mame-clean/src/emu/emualloc.h mame/src/emu/emualloc.h
  53. --- mame-clean/src/emu/emualloc.h       2010-10-14 19:10:40.000000000 -0400
  54. +++ mame/src/emu/emualloc.h     2010-10-14 17:13:35.000000000 -0400
  55. @@ -220,13 +220,13 @@
  56.         return result;
  57.  }
  58.  
  59. -inline void operator delete(void *ptr)
  60. +inline void operator delete(void *ptr) throw()
  61.  {
  62.         if (ptr != NULL)
  63.                 free_file_line(ptr, NULL, 0);
  64.  }
  65.  
  66. -inline void operator delete[](void *ptr)
  67. +inline void operator delete[](void *ptr) throw()
  68.  {
  69.         if (ptr != NULL)
  70.                 free_file_line(ptr, NULL, 0);