From cd088d656c326b253abbd2fb81ca24d0550d5be7 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Mon, 18 Jan 2021 08:35:01 +0100 Subject: [PATCH] early-access version 1339 --- README.md | 2 +- src/video_core/texture_cache/util.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f1ffbefa6..d851a7df5 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1338. +This is the source code for early-access 1339. ## Legal Notice diff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cpp index ce8fcfe0a..b23424523 100755 --- a/src/video_core/texture_cache/util.cpp +++ b/src/video_core/texture_cache/util.cpp @@ -679,7 +679,7 @@ u32 CalculateLayerSize(const ImageInfo& info) noexcept { } std::array CalculateMipLevelOffsets(const ImageInfo& info) noexcept { - ASSERT(info.resources.levels <= MAX_MIP_LEVELS); + ASSERT(info.resources.levels <= static_cast(MAX_MIP_LEVELS)); const LevelInfo level_info = MakeLevelInfo(info); std::array offsets{}; u32 offset = 0;