summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/y2r_u.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-22 07:48:00 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-06-22 07:57:12 +0200
commitd5531357487a144cf962ce08a912417fd5e61570 (patch)
tree22a4991545b092b5a46cc448c0359d3bfcaf253e /src/core/hle/service/y2r_u.cpp
parentMemory: Add TryVirtualToPhysicalAddress, returning a boost::optional (diff)
downloadyuzu-d5531357487a144cf962ce08a912417fd5e61570.tar
yuzu-d5531357487a144cf962ce08a912417fd5e61570.tar.gz
yuzu-d5531357487a144cf962ce08a912417fd5e61570.tar.bz2
yuzu-d5531357487a144cf962ce08a912417fd5e61570.tar.lz
yuzu-d5531357487a144cf962ce08a912417fd5e61570.tar.xz
yuzu-d5531357487a144cf962ce08a912417fd5e61570.tar.zst
yuzu-d5531357487a144cf962ce08a912417fd5e61570.zip
Diffstat (limited to '')
-rw-r--r--src/core/hle/service/y2r_u.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/y2r_u.cpp b/src/core/hle/service/y2r_u.cpp
index e73971d5f..57172ddd6 100644
--- a/src/core/hle/service/y2r_u.cpp
+++ b/src/core/hle/service/y2r_u.cpp
@@ -587,8 +587,8 @@ static void StartConversion(Interface* self) {
// dst_image_size would seem to be perfect for this, but it doesn't include the gap :(
u32 total_output_size =
conversion.input_lines * (conversion.dst.transfer_unit + conversion.dst.gap);
- Memory::RasterizerFlushAndInvalidateRegion(
- Memory::VirtualToPhysicalAddress(conversion.dst.address), total_output_size);
+ Memory::RasterizerFlushVirtualRegion(conversion.dst.address, total_output_size,
+ Memory::FlushMode::FlushAndInvalidate);
HW::Y2R::PerformConversion(conversion);