summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/JitWindow.cpp
diff options
context:
space:
mode:
authorSonicadvance1 <sonicadvance1@gmail.com>2009-07-15 16:59:53 +0000
committerSonicadvance1 <sonicadvance1@gmail.com>2009-07-15 16:59:53 +0000
commit6802f885b1190914cf74c273d17d6a6955b5d60f (patch)
tree30bcd8ccd874298f911b08364e406fa9053a9710 /Source/Core/DebuggerWX/Src/JitWindow.cpp
parent90f595bada0c51dd5379635bfd899c707589c7dd (diff)
Tons of reworking of the cores to make them more...generalized, not quite there yet, but great progress. Near impossible to break this up in to smaller chunks, and may break Windows building. Can not yet switch between JitIL and JIT during runtime, but it is on my list to do.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3801 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/JitWindow.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/JitWindow.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/Core/DebuggerWX/Src/JitWindow.cpp b/Source/Core/DebuggerWX/Src/JitWindow.cpp
index 1c9824550e..3c9e5cff59 100644
--- a/Source/Core/DebuggerWX/Src/JitWindow.cpp
+++ b/Source/Core/DebuggerWX/Src/JitWindow.cpp
@@ -149,16 +149,16 @@ void CJitWindow::Compare(u32 em_address)
disassembler x64disasm;
x64disasm.set_syntax_intel();
- int block_num = jit.GetBlockCache()->GetBlockNumberFromStartAddress(em_address);
+ int block_num = jit->GetBlockCache()->GetBlockNumberFromStartAddress(em_address);
if (block_num < 0)
{
for (int i = 0; i < 500; i++) {
- block_num = jit.GetBlockCache()->GetBlockNumberFromStartAddress(em_address - 4 * i);
+ block_num = jit->GetBlockCache()->GetBlockNumberFromStartAddress(em_address - 4 * i);
if (block_num >= 0)
break;
}
if (block_num >= 0) {
- JitBlock *block = jit.GetBlockCache()->GetBlock(block_num);
+ JitBlock *block = jit->GetBlockCache()->GetBlock(block_num);
if (!(block->originalAddress <= em_address && block->originalSize + block->originalAddress >= em_address))
block_num = -1;
}
@@ -169,12 +169,12 @@ void CJitWindow::Compare(u32 em_address)
return;
}
}
- JitBlock *block = jit.GetBlockCache()->GetBlock(block_num);
+ JitBlock *block = jit->GetBlockCache()->GetBlock(block_num);
// 800031f0
// == Fill in x86 box
- const u8 *code = (const u8 *)jit.GetBlockCache()->GetCompiledCodeFromBlock(block_num);
+ const u8 *code = (const u8 *)jit->GetBlockCache()->GetCompiledCodeFromBlock(block_num);
u64 disasmPtr = (u64)code;
int size = block->codeSize;
const u8 *end = code + size;