diff options
| author | hrydgard <hrydgard@gmail.com> | 2010-01-19 19:28:27 +0000 |
|---|---|---|
| committer | hrydgard <hrydgard@gmail.com> | 2010-01-19 19:28:27 +0000 |
| commit | 576990c5a318f5007131fff44b0ce68d4898d4a8 (patch) | |
| tree | f1268ea52b4211fea522783ff522cbc58a691c22 /Source/Core/DebuggerWX/Src/CodeWindow.cpp | |
| parent | 657ba22f5407a0c641a3b5690a70cb750e2e1255 (diff) | |
JitIL is no longer a separate .exe/binary - it's now a simple option, Dolphin.exe now contains both cores.
Advantages:
* Less confusion for users
* No need to build twice to make sure you didn't break something
* Easier to switch between the cores for testing
Disadvantages:
* None, as far as I can tell :) Maybe some extra code complexity, but not much.
Also break some include chains that caused <windows.h> to get included into everything, slowing down the build on Windows. There's more to do here though, there's still a lot of files that get it included that don't need it at all.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4891 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindow.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index 4d8aa10a41..36db64cc2e 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -54,7 +54,7 @@ #include "PowerPC/PPCSymbolDB.h" #include "PowerPC/SignatureDB.h" #include "PowerPC/PPCTables.h" -#include "PowerPC/Jit64/Jit.h" +#include "PowerPC/JitCommon/JitBase.h" #include "PowerPC/JitCommon/JitCache.h" // for ClearCache() #include "PluginManager.h" @@ -435,7 +435,7 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParam " and stepping to work as explained in the Developer Documentation. But it can be very" " slow, perhaps slower than 1 fps.") , wxITEM_CHECK); - interpreter->Check(!_LocalCoreStartupParameter.bUseJIT); + interpreter->Check(_LocalCoreStartupParameter.iCPUCore == 0); pCoreMenu->AppendSeparator(); jitblocklinking = pCoreMenu->Append(IDM_JITBLOCKLINKING, _T("&JIT Block Linking off"), @@ -551,7 +551,7 @@ void CCodeWindow::OnCPUMode(wxCommandEvent& event) } // Clear the JIT cache to enable these changes - jit.ClearCache(); + jit->ClearCache(); // Update UpdateButtonStates(); } @@ -563,7 +563,7 @@ void CCodeWindow::OnJitMenu(wxCommandEvent& event) PPCTables::LogCompiledInstructions(); break; case IDM_CLEARCODECACHE: - jit.ClearCache(); break; + jit->ClearCache(); break; case IDM_SEARCHINSTRUCTION: { |
