diff options
| author | 2015-07-22 18:20:54 -0500 | |
|---|---|---|
| committer | 2015-07-23 11:47:34 -0500 | |
| commit | 6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0 (patch) | |
| tree | 5e8a1e33d8697550fc7a8eee76755be4bd65015a /src/core/hw/gpu.cpp | |
| parent | Merge pull request #968 from Subv/texture_filtering (diff) | |
| download | yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.gz yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.xz yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.zip | |
Qt/GPU Breakpoints: Added three more breakpoint types:
* IncomingDisplayTransfer: Triggered just before a display transfer is performed.
* GSPCommandProcessed: Triggered right after a GSP command is processed.
* BufferSwapped: Triggered when the frames flip
Diffstat (limited to 'src/core/hw/gpu.cpp')
| -rw-r--r-- | src/core/hw/gpu.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp index 2a338e8fc..3ccbc03b2 100644 --- a/src/core/hw/gpu.cpp +++ b/src/core/hw/gpu.cpp | |||
| @@ -151,6 +151,10 @@ inline void Write(u32 addr, const T data) { | |||
| 151 | { | 151 | { |
| 152 | const auto& config = g_regs.display_transfer_config; | 152 | const auto& config = g_regs.display_transfer_config; |
| 153 | if (config.trigger & 1) { | 153 | if (config.trigger & 1) { |
| 154 | |||
| 155 | if (Pica::g_debug_context) | ||
| 156 | Pica::g_debug_context->OnEvent(Pica::DebugContext::Event::IncomingDisplayTransfer, nullptr); | ||
| 157 | |||
| 154 | u8* src_pointer = Memory::GetPhysicalPointer(config.GetPhysicalInputAddress()); | 158 | u8* src_pointer = Memory::GetPhysicalPointer(config.GetPhysicalInputAddress()); |
| 155 | u8* dst_pointer = Memory::GetPhysicalPointer(config.GetPhysicalOutputAddress()); | 159 | u8* dst_pointer = Memory::GetPhysicalPointer(config.GetPhysicalOutputAddress()); |
| 156 | 160 | ||