Add memchecks for common HLE copy operations.

Better to catch some than miss everything.
This commit is contained in:
Unknown W. Brackets committed 2013-12-14 14:56:05 -08:00
1 parent 12713a44a1
commit 13bf4d83fa
5 files changed
+35 -9

No files matched your search

+5 -1
View File
@@ -28,7 +28,8 @@
#include "MIPS/JitCommon/JitCommon.h"
#include "HLE/HLE.h"
#include "CPU.h"
#include "Debugger/SymbolMap.h"
#include "Core/Debugger/SymbolMap.h"
#include "Core/Debugger/Breakpoints.h"
#include "Core/Config.h"
namespace Memory
@@ -210,6 +211,9 @@ void Memset(const u32 _Address, const u8 _iValue, const u32 _iLength)
for (size_t i = 0; i < _iLength; i++)
Write_U8(_iValue, (u32)(_Address + i));
}
#ifndef USING_GLES2
CBreakPoints::ExecMemCheck(_Address, true, _iLength, currentMIPS->pc);
#endif
}
void GetString(std::string& _string, const u32 em_address)