Make Memory::Memcpy() execute memchecks directly.
This makes it easier to handle breakpoints in HLE.
This commit is contained in:
parent
d43368f4ca
commit
2450724be2
32 changed files with 132 additions and 86 deletions
|
@ -20,7 +20,7 @@
|
|||
#include "Common/ChunkFile.h"
|
||||
#include "base/logging.h"
|
||||
#include "Core/Debugger/Breakpoints.h"
|
||||
#include "Core/MemMap.h"
|
||||
#include "Core/MemMapHelpers.h"
|
||||
#include "Core/MIPS/MIPS.h"
|
||||
#include "Core/Host.h"
|
||||
#include "Core/Config.h"
|
||||
|
@ -1912,7 +1912,7 @@ void DIRECTX9_GPU::PerformMemoryCopyInternal(u32 dest, u32 src, int size) {
|
|||
// We use a little hack for Download/Upload using a VRAM mirror.
|
||||
// Since they're identical we don't need to copy.
|
||||
if (!Memory::IsVRAMAddress(dest) || (dest ^ 0x00400000) != src) {
|
||||
Memory::Memcpy(dest, Memory::GetPointer(src), size);
|
||||
Memory::Memcpy(dest, src, size);
|
||||
}
|
||||
}
|
||||
InvalidateCache(dest, size, GPU_INVALIDATE_HINT);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue