mirror of
https://github.com/holub/mame
synced 2025-04-24 01:11:11 +03:00
ppcdrc.cpp: Fixed debug flag test causing fast RAM accesses to be erroneously emitted. Hopefully fixes unusual breakpoint/watchpoint behaviour [Phil Bennett]
This commit is contained in:
parent
82a7979723
commit
4af1e38970
@ -1068,7 +1068,7 @@ void ppc_device::static_generate_memory_accessor(int mode, int size, int iswrite
|
||||
UML_AND(block, I0, I0, 0x7fffffff); // and i0,i0,0x7fffffff
|
||||
UML_XOR(block, I0, I0, (mode & MODE_LITTLE_ENDIAN) ? (8 - size) : 0); // xor i0,i0,8-size
|
||||
|
||||
if ((machine().debug_flags & DEBUG_FLAG_ENABLED) != 0)
|
||||
if ((machine().debug_flags & DEBUG_FLAG_ENABLED) == 0)
|
||||
for (ramnum = 0; ramnum < PPC_MAX_FASTRAM; ramnum++)
|
||||
if (m_fastram[ramnum].base != nullptr && (!iswrite || !m_fastram[ramnum].readonly))
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user