Skip to content

VERY experimental Nintendo Switch 2 emulator

C++

general: Add missing #pragma once directives

Morph5004b030df05
diff --git a/src/common/logging/types.h b/src/common/logging/types.h
index ee9a1ed845..88b0e9c014 100644
--- a/src/common/logging/types.h
+++ b/src/common/logging/types.h
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include <chrono>
#include "common/common_types.h"
diff --git a/src/core/hle/api_version.h b/src/core/hle/api_version.h
index 811732179f..5e10a7ad9d 100644
--- a/src/core/hle/api_version.h
+++ b/src/core/hle/api_version.h
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include "common/common_types.h"
// This file contains yuzu's HLE API version constants.
diff --git a/src/core/hle/service/spl/spl_results.h b/src/core/hle/service/spl/spl_results.h
index 878fa91b70..a07c614091 100644
--- a/src/core/hle/service/spl/spl_results.h
+++ b/src/core/hle/service/spl/spl_results.h
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include "core/hle/result.h"
namespace Service::SPL {
diff --git a/src/core/hle/service/spl/spl_types.h b/src/core/hle/service/spl/spl_types.h
index 23c39f7eda..a654e7556c 100644
--- a/src/core/hle/service/spl/spl_types.h
+++ b/src/core/hle/service/spl/spl_types.h
@@ -2,6 +2,8 @@
// Licensed under GPLv2 or any later version
// Refer to the license.txt file included.
+#pragma once
+
#include <span>
#include "common/bit_field.h"