diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/common/fixed_point.h | 5 | ||||
| -rw-r--r-- | src/core/hle/service/vi/vi_results.h | 2 |
2 files changed, 3 insertions, 4 deletions
diff --git a/src/common/fixed_point.h b/src/common/fixed_point.h index 4a0f72cc9..f9adfccb0 100644 --- a/src/common/fixed_point.h +++ b/src/common/fixed_point.h | |||
| @@ -4,8 +4,7 @@ | |||
| 4 | // From: https://github.com/eteran/cpp-utilities/blob/master/fixed/include/cpp-utilities/fixed.h | 4 | // From: https://github.com/eteran/cpp-utilities/blob/master/fixed/include/cpp-utilities/fixed.h |
| 5 | // See also: http://stackoverflow.com/questions/79677/whats-the-best-way-to-do-fixed-point-math | 5 | // See also: http://stackoverflow.com/questions/79677/whats-the-best-way-to-do-fixed-point-math |
| 6 | 6 | ||
| 7 | #ifndef FIXED_H_ | 7 | #pragma once |
| 8 | #define FIXED_H_ | ||
| 9 | 8 | ||
| 10 | #if __cplusplus >= 201402L | 9 | #if __cplusplus >= 201402L |
| 11 | #define CONSTEXPR14 constexpr | 10 | #define CONSTEXPR14 constexpr |
| @@ -702,5 +701,3 @@ constexpr bool operator!=(Number lhs, FixedPoint<I, F> rhs) { | |||
| 702 | } // namespace Common | 701 | } // namespace Common |
| 703 | 702 | ||
| 704 | #undef CONSTEXPR14 | 703 | #undef CONSTEXPR14 |
| 705 | |||
| 706 | #endif | ||
diff --git a/src/core/hle/service/vi/vi_results.h b/src/core/hle/service/vi/vi_results.h index a46c247d2..22bac799f 100644 --- a/src/core/hle/service/vi/vi_results.h +++ b/src/core/hle/service/vi/vi_results.h | |||
| @@ -1,6 +1,8 @@ | |||
| 1 | // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project | 1 | // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project |
| 2 | // SPDX-License-Identifier: GPL-2.0-or-later | 2 | // SPDX-License-Identifier: GPL-2.0-or-later |
| 3 | 3 | ||
| 4 | #pragma once | ||
| 5 | |||
| 4 | #include "core/hle/result.h" | 6 | #include "core/hle/result.h" |
| 5 | 7 | ||
| 6 | namespace Service::VI { | 8 | namespace Service::VI { |