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:
parent
9786786c7e
commit
5f1f968e21
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue