This is an ugly hack, but increase the size of the buffer... I managed

to overflow it while experimenting with the JIT.



git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1709 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
magumagu9 2008-12-29 02:02:35 +00:00
parent 9786786c7e
commit 5f1f968e21
1 changed files with 2 additions and 3 deletions

View File

@ -132,8 +132,8 @@ void CJitWindow::ViewAddr(u32 em_address)
void CJitWindow::Compare(u32 em_address)
{
u8 *xDis = new u8[65536];
memset(xDis, 0, 65536);
u8 *xDis = new u8[1<<18];
memset(xDis, 0, 1<<18);
disassembler x64disasm;
x64disasm.set_syntax_intel();
@ -163,7 +163,6 @@ void CJitWindow::Compare(u32 em_address)
// 800031f0
// == Fill in x86 box
memset(xDis, 0, 65536);
const u8 *code = (const u8 *)jit.GetBlockCache()->GetCompiledCodeFromBlock(block_num);
u64 disasmPtr = (u64)code;
int size = block->codeSize;