summaryrefslogtreecommitdiffstats
path: root/src/video_core/engines/fermi_2d.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2022-11-29 14:04:40 +0100
committerLioncash <mathew1800@gmail.com>2022-11-29 14:38:46 +0100
commitd7ec031419f7eef3f85210659cf7f6dc8c50d791 (patch)
treeccc3c652023497a48af86a2842480d88949c2804 /src/video_core/engines/fermi_2d.h
parentMerge pull request #9325 from german77/default_by_default (diff)
downloadyuzu-d7ec031419f7eef3f85210659cf7f6dc8c50d791.tar
yuzu-d7ec031419f7eef3f85210659cf7f6dc8c50d791.tar.gz
yuzu-d7ec031419f7eef3f85210659cf7f6dc8c50d791.tar.bz2
yuzu-d7ec031419f7eef3f85210659cf7f6dc8c50d791.tar.lz
yuzu-d7ec031419f7eef3f85210659cf7f6dc8c50d791.tar.xz
yuzu-d7ec031419f7eef3f85210659cf7f6dc8c50d791.tar.zst
yuzu-d7ec031419f7eef3f85210659cf7f6dc8c50d791.zip
Diffstat (limited to 'src/video_core/engines/fermi_2d.h')
-rw-r--r--src/video_core/engines/fermi_2d.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.h
index 24b518cb5..100b21bac 100644
--- a/src/video_core/engines/fermi_2d.h
+++ b/src/video_core/engines/fermi_2d.h
@@ -97,7 +97,7 @@ public:
u32 addr_lower;
[[nodiscard]] constexpr GPUVAddr Address() const noexcept {
- return (static_cast<GPUVAddr>(addr_upper) << 32) | static_cast<GPUVAddr>(addr_lower);
+ return (GPUVAddr{addr_upper} << 32) | GPUVAddr{addr_lower};
}
};
static_assert(sizeof(Surface) == 0x28, "Surface has incorrect size");