From 060c371a8bf82bb517077d2d600d00a9f2d7e106 Mon Sep 17 00:00:00 2001 From: pineappleEA Date: Tue, 22 Jun 2021 08:12:57 +0200 Subject: [PATCH] early-access version 1803 --- README.md | 2 +- src/audio_core/stream.h | 2 +- src/core/hle/kernel/k_resource_limit.cpp | 1 + 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 25076de4d..20ff9924f 100755 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ yuzu emulator early access ============= -This is the source code for early-access 1802. +This is the source code for early-access 1803. ## Legal Notice diff --git a/src/audio_core/stream.h b/src/audio_core/stream.h index 41d8d0b46..dbd97ec9c 100755 --- a/src/audio_core/stream.h +++ b/src/audio_core/stream.h @@ -111,7 +111,7 @@ private: [[nodiscard]] std::chrono::nanoseconds GetBufferReleaseNS(const Buffer& buffer) const; u32 sample_rate; ///< Sample rate of the stream - u64 played_samples; ///< The current played sample count + u64 played_samples{}; ///< The current played sample count Format format; ///< Format of the stream float game_volume = 1.0f; ///< The volume the game currently has set ReleaseCallback release_callback; ///< Buffer release callback for the stream diff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cpp index da88f35bc..0c4bba66b 100755 --- a/src/core/hle/kernel/k_resource_limit.cpp +++ b/src/core/hle/kernel/k_resource_limit.cpp @@ -79,6 +79,7 @@ ResultCode KResourceLimit::SetLimitValue(LimitableResource which, s64 value) { R_UNLESS(current_values[index] <= value, ResultInvalidState); limit_values[index] = value; + peak_values[index] = current_values[index]; return ResultSuccess; }