summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service/vi
diff options
context:
space:
mode:
authorcomex <comexk@gmail.com>2020-08-31 16:34:46 +0200
committercomex <comexk@gmail.com>2020-12-07 00:59:22 +0100
commit3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb (patch)
tree5c9c158f9ec5804cbec7c63bf7957e1a7280f35d /src/core/hle/service/vi
parentMerge pull request #5146 from comex/xx-num (diff)
downloadyuzu-3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb.tar
yuzu-3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb.tar.gz
yuzu-3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb.tar.bz2
yuzu-3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb.tar.lz
yuzu-3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb.tar.xz
yuzu-3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb.tar.zst
yuzu-3373149fdc4dd4dc041fcd5501db5b4ccf0af7bb.zip
Diffstat (limited to 'src/core/hle/service/vi')
-rw-r--r--src/core/hle/service/vi/vi.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cpp
index af5b8b0b9..422e9e02f 100644
--- a/src/core/hle/service/vi/vi.cpp
+++ b/src/core/hle/service/vi/vi.cpp
@@ -1230,8 +1230,8 @@ private:
const auto height = rp.Pop<u64>();
LOG_DEBUG(Service_VI, "called width={}, height={}", width, height);
- constexpr std::size_t base_size = 0x20000;
- constexpr std::size_t alignment = 0x1000;
+ constexpr u64 base_size = 0x20000;
+ constexpr u64 alignment = 0x1000;
const auto texture_size = width * height * 4;
const auto out_size = (texture_size + base_size - 1) / base_size * base_size;