diff options
author | bunnei <bunneidev@gmail.com> | 2020-12-07 07:32:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-07 07:32:04 +0100 |
commit | 24cabf5e2fcc87e30fa1a7125e04d5324a729671 (patch) | |
tree | 6156a1376514a37fa8be7a082a67829d8751635a /src/core/hle/service | |
parent | Merge pull request #5147 from comex/xx-purevirt (diff) | |
parent | hle: Type check ResponseBuilder::Push arguments, and fix use in vi.cpp (diff) | |
download | yuzu-24cabf5e2fcc87e30fa1a7125e04d5324a729671.tar yuzu-24cabf5e2fcc87e30fa1a7125e04d5324a729671.tar.gz yuzu-24cabf5e2fcc87e30fa1a7125e04d5324a729671.tar.bz2 yuzu-24cabf5e2fcc87e30fa1a7125e04d5324a729671.tar.lz yuzu-24cabf5e2fcc87e30fa1a7125e04d5324a729671.tar.xz yuzu-24cabf5e2fcc87e30fa1a7125e04d5324a729671.tar.zst yuzu-24cabf5e2fcc87e30fa1a7125e04d5324a729671.zip |
Diffstat (limited to 'src/core/hle/service')
-rw-r--r-- | src/core/hle/service/vi/vi.cpp | 4 |
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; |