diff options
| author | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-08-01 02:58:13 +0100 |
|---|---|---|
| committer | Kelebek1 <eeeedddccc@hotmail.co.uk> | 2022-09-02 04:43:04 +0100 |
| commit | c3e3874d8d8964cf1ea278d3239def2d4c29d8ef (patch) | |
| tree | 512cce0fea5eb511aa7803bc67f741815885bfcb /src/core | |
| parent | af222dc9248486e203eef2a8d6009142c851ee51 (diff) | |
Rework audio output, connecting AudioOut into coretiming to fix desync during heavy loads.
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/hle/result.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/hle/result.h b/src/core/hle/result.h index 4de44cd061..47a1b829b2 100644 --- a/src/core/hle/result.h +++ b/src/core/hle/result.h @@ -117,6 +117,7 @@ union Result { BitField<0, 9, ErrorModule> module; BitField<9, 13, u32> description; + Result() = default; constexpr explicit Result(u32 raw_) : raw(raw_) {} constexpr Result(ErrorModule module_, u32 description_) @@ -130,6 +131,7 @@ union Result { return !IsSuccess(); } }; +static_assert(std::is_trivial_v<Result>); [[nodiscard]] constexpr bool operator==(const Result& a, const Result& b) { return a.raw == b.raw; |
