mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 17:53:42 +01:00
Fix black background in old debugger
This commit is contained in:
1 parent
dd26bcf1af
commit
0535f5ebc1
1 file changed
+11
-1
@@ -141,11 +141,21 @@ void ImDisasmWindow::Draw(MIPSDebugInterface *mipsDebug, bool *open, CoreState c
|
||||
disasmView_.setDebugger(mipsDebug);
|
||||
|
||||
ImGui::SetNextWindowSize(ImVec2(520, 600), ImGuiCond_FirstUseEver);
|
||||
if (!ImGui::Begin(title, open)) {
|
||||
if (!ImGui::Begin(title, open, ImGuiWindowFlags_NoNavInputs)) {
|
||||
ImGui::End();
|
||||
return;
|
||||
}
|
||||
|
||||
if (ImGui::IsWindowFocused()) {
|
||||
// Process stepping keyboard shortcuts.
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_F10)) {
|
||||
Core_RequestSingleStep(CPUStepType::Over, 0);
|
||||
}
|
||||
if (ImGui::IsKeyPressed(ImGuiKey_F11)) {
|
||||
Core_RequestSingleStep(CPUStepType::Into, 0);
|
||||
}
|
||||
}
|
||||
|
||||
ImGui::BeginDisabled(coreState != CORE_STEPPING);
|
||||
if (ImGui::SmallButton("Run")) {
|
||||
Core_Resume();
|
||||
|
||||
Reference in new issue
Block a user