diff options
author | liamwhite <liamwhite@users.noreply.github.com> | 2023-02-22 00:58:04 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-22 00:58:04 +0100 |
commit | 11f6bb153251462bf55afa59ba99b98f9c9ecaa1 (patch) | |
tree | 22a1c190d8ce59d7cb7599c1a8cf6dfbdfe53eea /src/video_core | |
parent | Merge pull request #9841 from abouvier/httplib-update (diff) | |
parent | svc: Fix type consistency (exposed on macOS) (diff) | |
download | yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.gz yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.bz2 yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.lz yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.xz yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.tar.zst yuzu-11f6bb153251462bf55afa59ba99b98f9c9ecaa1.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/buffer_cache/buffer_base.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/buffer_cache/buffer_base.h b/src/video_core/buffer_cache/buffer_base.h index 92d77eef2..1b4d63616 100644 --- a/src/video_core/buffer_cache/buffer_base.h +++ b/src/video_core/buffer_cache/buffer_base.h @@ -568,7 +568,7 @@ private: const u64* const state_words = Array<type>(); const u64 num_query_words = size / BYTES_PER_WORD + 1; const u64 word_begin = offset / BYTES_PER_WORD; - const u64 word_end = std::min(word_begin + num_query_words, NumWords()); + const u64 word_end = std::min<u64>(word_begin + num_query_words, NumWords()); const u64 page_base = offset / BYTES_PER_PAGE; const u64 page_limit = Common::DivCeil(offset + size, BYTES_PER_PAGE); u64 begin = std::numeric_limits<u64>::max(); |