summaryrefslogtreecommitdiffstats
path: root/src/core/hw/gpu.cpp
diff options
context:
space:
mode:
authorSubv <subv2112@gmail.com>2015-07-23 01:20:54 +0200
committerSubv <subv2112@gmail.com>2015-07-23 18:47:34 +0200
commit6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0 (patch)
tree5e8a1e33d8697550fc7a8eee76755be4bd65015a /src/core/hw/gpu.cpp
parentMerge pull request #968 from Subv/texture_filtering (diff)
downloadyuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.gz
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.bz2
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.lz
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.xz
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.tar.zst
yuzu-6c0ea5f5e8b4945adee121dbca1c646a50d1e0b0.zip
Diffstat (limited to '')
-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());