summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorTony Wasserka <neobrainx@gmail.com>2015-07-24 01:58:11 +0200
committerTony Wasserka <neobrainx@gmail.com>2015-07-24 01:58:11 +0200
commit1760eb5ca692b4ca289087eaae1e0975a545be3e (patch)
treed10fbb61342af95db208b300e1185f9503f1a79c /src/core/hw/gpu.cpp
parentMerge pull request #977 from yuriks/glenable-tex2d (diff)
parentQt/GPU Breakpoints: Added three more breakpoint types: (diff)
downloadyuzu-1760eb5ca692b4ca289087eaae1e0975a545be3e.tar
yuzu-1760eb5ca692b4ca289087eaae1e0975a545be3e.tar.gz
yuzu-1760eb5ca692b4ca289087eaae1e0975a545be3e.tar.bz2
yuzu-1760eb5ca692b4ca289087eaae1e0975a545be3e.tar.lz
yuzu-1760eb5ca692b4ca289087eaae1e0975a545be3e.tar.xz
yuzu-1760eb5ca692b4ca289087eaae1e0975a545be3e.tar.zst
yuzu-1760eb5ca692b4ca289087eaae1e0975a545be3e.zip
Diffstat (limited to 'src/core/hw/gpu.cpp')
-rw-r--r--src/core/hw/gpu.cpp4
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) {
{
const auto& config = g_regs.display_transfer_config;
if (config.trigger & 1) {
+
+ if (Pica::g_debug_context)
+ Pica::g_debug_context->OnEvent(Pica::DebugContext::Event::IncomingDisplayTransfer, nullptr);
+
u8* src_pointer = Memory::GetPhysicalPointer(config.GetPhysicalInputAddress());
u8* dst_pointer = Memory::GetPhysicalPointer(config.GetPhysicalOutputAddress());