diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-17 08:52:41 +0200 |
---|---|---|
committer | Morph <39850852+Morph1984@users.noreply.github.com> | 2022-10-17 09:14:31 +0200 |
commit | bffbaddb797e0229e6d9e30fe0f75d56b4530903 (patch) | |
tree | 8694a4ef6b51e0334298988946e59212ced696b7 /src | |
parent | Merge pull request #9058 from Docteh/new_transifex_cli (diff) | |
download | yuzu-bffbaddb797e0229e6d9e30fe0f75d56b4530903.tar yuzu-bffbaddb797e0229e6d9e30fe0f75d56b4530903.tar.gz yuzu-bffbaddb797e0229e6d9e30fe0f75d56b4530903.tar.bz2 yuzu-bffbaddb797e0229e6d9e30fe0f75d56b4530903.tar.lz yuzu-bffbaddb797e0229e6d9e30fe0f75d56b4530903.tar.xz yuzu-bffbaddb797e0229e6d9e30fe0f75d56b4530903.tar.zst yuzu-bffbaddb797e0229e6d9e30fe0f75d56b4530903.zip |
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 @@ // From: https://github.com/eteran/cpp-utilities/blob/master/fixed/include/cpp-utilities/fixed.h // See also: http://stackoverflow.com/questions/79677/whats-the-best-way-to-do-fixed-point-math -#ifndef FIXED_H_ -#define FIXED_H_ +#pragma once #if __cplusplus >= 201402L #define CONSTEXPR14 constexpr @@ -702,5 +701,3 @@ constexpr bool operator!=(Number lhs, FixedPoint<I, F> rhs) { } // namespace Common #undef CONSTEXPR14 - -#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 @@ // SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project // SPDX-License-Identifier: GPL-2.0-or-later +#pragma once + #include "core/hle/result.h" namespace Service::VI { |