Previous 15994 Revisions Next

r8871 Monday 23rd August, 2010 at 18:38:12 UTC by Curt Coder
Sync with MAME.
[src/emu]memory.c state.c
[src/emu/cpu/z80]z80.c

src/emu/cpu/z80/z80.c
r8870r8871
35433543   z80->nmi_pending = FALSE;
35443544   z80->irq_state = CLEAR_LINE;
35453545   z80->after_ei = FALSE;
3546   z80->iff1 = 0;
3547   z80->iff2 = 0;
35463548
35473549   z80->daisy.reset();
35483550
src/emu/state.c
r8870r8871
169169
170170void state_init(running_machine *machine)
171171{
172   bool test_bool;
173   INT8 test_INT8;
174   UINT8 test_UINT8;
175   INT16 test_INT16;
176   UINT16 test_UINT16;
177   INT32 test_INT32;
178   UINT32 test_UINT32;
179   INT64 test_INT64;
180   UINT64 test_UINT64;
181   float test_float;
182   double test_double;
183   test_enum_type test_enum;
172   bool test_bool = false;
173   INT8 test_INT8 = 0;
174   UINT8 test_UINT8 = 0;
175   INT16 test_INT16 = 0;
176   UINT16 test_UINT16 = 0;
177   INT32 test_INT32 = 0;
178   UINT32 test_UINT32 = 0;
179   INT64 test_INT64 = 0;
180   UINT64 test_UINT64 = 0;
181   float test_float = 0.0f;
182   double test_double = 0.0;
183   test_enum_type test_enum = test_val;
184184#ifdef __GNUC__
185185   test_class_type test_class;
186186#endif
src/emu/memory.c
r8870r8871
783783   template<typename _UintType>
784784   _UintType watchpoint_r(address_space &space, offs_t offset, _UintType mask)
785785   {
786      m_space.device().debug()->memory_read_hook(m_space, offset, mask);
786      m_space.device().debug()->memory_read_hook(m_space, offset * sizeof(_UintType), mask);
787787
788788      UINT8 *oldtable = m_live_lookup;
789789      m_live_lookup = m_table;
r8870r8871
836836   template<typename _UintType>
837837   void watchpoint_w(address_space &space, offs_t offset, _UintType data, _UintType mask)
838838   {
839      m_space.device().debug()->memory_write_hook(m_space, offset, data, 0xff);
839      m_space.device().debug()->memory_write_hook(m_space, offset * sizeof(_UintType), data, mask);
840840
841841      UINT8 *oldtable = m_live_lookup;
842842      m_live_lookup = m_table;

Previous 15994 Revisions Next


© 1998-2018 The MESS Team