summaryrefslogtreecommitdiffstats
path: root/src/core/hw
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2016-05-07 23:24:16 +0200
committerbunnei <bunneidev@gmail.com>2016-05-07 23:24:16 +0200
commit6abc6003f50cbaec555516bbaf8fce5bbecb2ff1 (patch)
tree18ae5ec147f016b62e73d1de683d453c50407034 /src/core/hw
parentMerge pull request #1761 from Subv/applets_fb (diff)
parentfixup simple type conversions where possible (diff)
downloadyuzu-6abc6003f50cbaec555516bbaf8fce5bbecb2ff1.tar
yuzu-6abc6003f50cbaec555516bbaf8fce5bbecb2ff1.tar.gz
yuzu-6abc6003f50cbaec555516bbaf8fce5bbecb2ff1.tar.bz2
yuzu-6abc6003f50cbaec555516bbaf8fce5bbecb2ff1.tar.lz
yuzu-6abc6003f50cbaec555516bbaf8fce5bbecb2ff1.tar.xz
yuzu-6abc6003f50cbaec555516bbaf8fce5bbecb2ff1.tar.zst
yuzu-6abc6003f50cbaec555516bbaf8fce5bbecb2ff1.zip
Diffstat (limited to 'src/core/hw')
-rw-r--r--src/core/hw/gpu.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hw/gpu.cpp b/src/core/hw/gpu.cpp
index 2fe856293..a4dfb7e43 100644
--- a/src/core/hw/gpu.cpp
+++ b/src/core/hw/gpu.cpp
@@ -188,10 +188,10 @@ inline void Write(u32 addr, const T data) {
u32 output_gap = config.texture_copy.output_gap * 16;
size_t contiguous_input_size = config.texture_copy.size / input_width * (input_width + input_gap);
- Memory::RasterizerFlushRegion(config.GetPhysicalInputAddress(), contiguous_input_size);
+ Memory::RasterizerFlushRegion(config.GetPhysicalInputAddress(), static_cast<u32>(contiguous_input_size));
size_t contiguous_output_size = config.texture_copy.size / output_width * (output_width + output_gap);
- Memory::RasterizerFlushAndInvalidateRegion(config.GetPhysicalOutputAddress(), contiguous_output_size);
+ Memory::RasterizerFlushAndInvalidateRegion(config.GetPhysicalOutputAddress(), static_cast<u32>(contiguous_output_size));
u32 remaining_size = config.texture_copy.size;
u32 remaining_input = input_width;