mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-23 21:39:52 +00:00
sofjit: Correctly poison memory.
Noticed this wasn't breakpoints when reviewing some assembly output.
This commit is contained in:
parent
745c35f320
commit
e93c709f5c
@ -517,6 +517,7 @@ PixelJitCache::PixelJitCache()
|
||||
{
|
||||
// 256k should be plenty of space for plenty of variations.
|
||||
AllocCodeSpace(1024 * 64 * 4);
|
||||
ClearCodeSpace(0);
|
||||
|
||||
// Add some random code to "help" MSVC's buggy disassembler :(
|
||||
#if defined(_WIN32) && (PPSSPP_ARCH(X86) || PPSSPP_ARCH(AMD64)) && !PPSSPP_PLATFORM(UWP)
|
||||
|
@ -101,6 +101,7 @@ SamplerJitCache::SamplerJitCache()
|
||||
{
|
||||
// 256k should be enough.
|
||||
AllocCodeSpace(1024 * 64 * 4);
|
||||
ClearCodeSpace(0);
|
||||
|
||||
// Add some random code to "help" MSVC's buggy disassembler :(
|
||||
#if defined(_WIN32) && (PPSSPP_ARCH(X86) || PPSSPP_ARCH(AMD64)) && !PPSSPP_PLATFORM(UWP)
|
||||
|
Loading…
Reference in New Issue
Block a user