Skip to content

Commit

Permalink
debug: log vram->cpu transfers
Browse files Browse the repository at this point in the history
  • Loading branch information
JaCzekanski committed Nov 19, 2020
1 parent 2568f59 commit 72a0334
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions src/device/gpu/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -707,8 +707,6 @@ void GPU::writeGP0(uint32_t data) {
}
if (n-- == 0) break;
}
} else if (cmd == Command::CopyVramToCpu) {
// Ignore
} else {
LogEntry entry;
entry.type = 0;
Expand Down
2 changes: 1 addition & 1 deletion src/platform/windows/gui/debug/gpu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ void GPU::logWindow(System *sys) {
} else if (isHovered && commandHasDetails(entry)) {
ImGui::BeginTooltip();
printCommandDetails(entry);
ImGui::EndPopup();
ImGui::EndTooltip();
}

// Misc stuff
Expand Down

0 comments on commit 72a0334

Please sign in to comment.