diff options
| author | John Peterson <jpeterson57@gmail.com> | 2009-01-20 16:52:46 +0000 |
|---|---|---|
| committer | John Peterson <jpeterson57@gmail.com> | 2009-01-20 16:52:46 +0000 |
| commit | d39819c4b5eacc52684ec1a1ae3390c6e69017e2 (patch) | |
| tree | c50267f8a0091ae215a51806089f174edbf0c2a4 /Source/Core/DebuggerWX/Src/CodeWindow.cpp | |
| parent | 140ba017945feab39cdd8a82c25396b985c10b74 (diff) | |
DebuggerWX: Added jit block linking option to the code window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1958 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindow.cpp')
| -rw-r--r-- | Source/Core/DebuggerWX/Src/CodeWindow.cpp | 17 |
1 files changed, 14 insertions, 3 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindow.cpp b/Source/Core/DebuggerWX/Src/CodeWindow.cpp index e67976c262..d60a8a4bbf 100644 --- a/Source/Core/DebuggerWX/Src/CodeWindow.cpp +++ b/Source/Core/DebuggerWX/Src/CodeWindow.cpp @@ -467,13 +467,19 @@ void CCodeWindow::CreateMenu(const SCoreStartupParameter& _LocalCoreStartupParam , wxITEM_CHECK); automaticstart->Check(bAutomaticStart); - #ifdef JIT_OFF_OPTIONS pCoreMenu->AppendSeparator(); + + jitblocklinking = pCoreMenu->Append(IDM_JITBLOCKLINKING, _T("&JIT Block Linking"), + _T("Speed up the execution by linking the JIT blocks." + ), wxITEM_CHECK); + jitunlimited = pCoreMenu->Append(IDM_JITUNLIMITED, _T("&Unlimited JIT Cache"), _T("Avoid any involuntary JIT cache clearing, this may prevent Zelda TP from crashing." " [This option must be selected before a game is started.]" - ), - wxITEM_CHECK); + ), wxITEM_CHECK); + + + #ifdef JIT_OFF_OPTIONS pCoreMenu->AppendSeparator(); jitoff = pCoreMenu->Append(IDM_JITOFF, _T("&JIT off (JIT core)"), _T("Turn off all JIT functions, but still use the JIT core from Jit.cpp"), @@ -602,6 +608,11 @@ bool CCodeWindow::UnlimitedJITCache() { return GetMenuBar()->IsChecked(IDM_JITUNLIMITED); } + +bool CCodeWindow::JITBlockLinking() +{ + return GetMenuBar()->IsChecked(IDM_JITBLOCKLINKING); +} // ========================= |
