early-access version 1803
This commit is contained in:
parent
1ddac306f8
commit
060c371a8b
@ -1,7 +1,7 @@
|
|||||||
yuzu emulator early access
|
yuzu emulator early access
|
||||||
=============
|
=============
|
||||||
|
|
||||||
This is the source code for early-access 1802.
|
This is the source code for early-access 1803.
|
||||||
|
|
||||||
## Legal Notice
|
## Legal Notice
|
||||||
|
|
||||||
|
@ -111,7 +111,7 @@ private:
|
|||||||
[[nodiscard]] std::chrono::nanoseconds GetBufferReleaseNS(const Buffer& buffer) const;
|
[[nodiscard]] std::chrono::nanoseconds GetBufferReleaseNS(const Buffer& buffer) const;
|
||||||
|
|
||||||
u32 sample_rate; ///< Sample rate of the stream
|
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
|
Format format; ///< Format of the stream
|
||||||
float game_volume = 1.0f; ///< The volume the game currently has set
|
float game_volume = 1.0f; ///< The volume the game currently has set
|
||||||
ReleaseCallback release_callback; ///< Buffer release callback for the stream
|
ReleaseCallback release_callback; ///< Buffer release callback for the stream
|
||||||
|
@ -79,6 +79,7 @@ ResultCode KResourceLimit::SetLimitValue(LimitableResource which, s64 value) {
|
|||||||
R_UNLESS(current_values[index] <= value, ResultInvalidState);
|
R_UNLESS(current_values[index] <= value, ResultInvalidState);
|
||||||
|
|
||||||
limit_values[index] = value;
|
limit_values[index] = value;
|
||||||
|
peak_values[index] = current_values[index];
|
||||||
|
|
||||||
return ResultSuccess;
|
return ResultSuccess;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user