VERY experimental Nintendo Switch 2 emulator
C++
general: Convert source file copyright comments over to SPDX
Morph2b87305d319f
diff --git a/src/audio_core/algorithm/filter.cpp b/src/audio_core/algorithm/filter.cppindex 01b8dff6ba..96e37991f7 100644--- a/src/audio_core/algorithm/filter.cpp+++ b/src/audio_core/algorithm/filter.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#define _USE_MATH_DEFINESdiff --git a/src/audio_core/algorithm/filter.h b/src/audio_core/algorithm/filter.hindex a291fe79b3..2586f00799 100644--- a/src/audio_core/algorithm/filter.h+++ b/src/audio_core/algorithm/filter.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/algorithm/interpolate.cpp b/src/audio_core/algorithm/interpolate.cppindex 3b4144e219..d2a4cd53f5 100644--- a/src/audio_core/algorithm/interpolate.cpp+++ b/src/audio_core/algorithm/interpolate.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#define _USE_MATH_DEFINESdiff --git a/src/audio_core/algorithm/interpolate.h b/src/audio_core/algorithm/interpolate.hindex d534077afe..5e59f4d709 100644--- a/src/audio_core/algorithm/interpolate.h+++ b/src/audio_core/algorithm/interpolate.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/audio_out.cpp b/src/audio_core/audio_out.cppindex 44a899d08a..83ec0221ff 100644--- a/src/audio_core/audio_out.cpp+++ b/src/audio_core/audio_out.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "audio_core/audio_out.h"#include "audio_core/sink.h"diff --git a/src/audio_core/audio_out.h b/src/audio_core/audio_out.hindex 6ce08cd0d4..6856373f10 100644--- a/src/audio_core/audio_out.h+++ b/src/audio_core/audio_out.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/audio_renderer.cpp b/src/audio_core/audio_renderer.cppindex 7dba739b45..e40ab16d28 100644--- a/src/audio_core/audio_renderer.cpp+++ b/src/audio_core/audio_renderer.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <limits>#include <vector>diff --git a/src/audio_core/audio_renderer.h b/src/audio_core/audio_renderer.hindex 88fdd13dda..1f9f55ae23 100644--- a/src/audio_core/audio_renderer.h+++ b/src/audio_core/audio_renderer.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/behavior_info.cpp b/src/audio_core/behavior_info.cppindex 3c2e3e6f17..ea7e456179 100644--- a/src/audio_core/behavior_info.cpp+++ b/src/audio_core/behavior_info.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "audio_core/behavior_info.h"diff --git a/src/audio_core/behavior_info.h b/src/audio_core/behavior_info.hindex 5a96bf75e4..b8c3159b9e 100644--- a/src/audio_core/behavior_info.h+++ b/src/audio_core/behavior_info.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/buffer.h b/src/audio_core/buffer.hindex ccc46ef82f..ac001629f9 100644--- a/src/audio_core/buffer.h+++ b/src/audio_core/buffer.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/codec.cpp b/src/audio_core/codec.cppindex 2fb91c13a6..868b7a173d 100644--- a/src/audio_core/codec.cpp+++ b/src/audio_core/codec.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/audio_core/codec.h b/src/audio_core/codec.hindex 9507abb1b8..5a058b3684 100644--- a/src/audio_core/codec.h+++ b/src/audio_core/codec.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/command_generator.cpp b/src/audio_core/command_generator.cppindex 830af46ad2..ae4efafb68 100644--- a/src/audio_core/command_generator.cpp+++ b/src/audio_core/command_generator.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cmath>diff --git a/src/audio_core/command_generator.h b/src/audio_core/command_generator.hindex 59a33ba768..8077e77682 100644--- a/src/audio_core/command_generator.h+++ b/src/audio_core/command_generator.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/common.h b/src/audio_core/common.hindex e6b95769f1..46ef83113e 100644--- a/src/audio_core/common.h+++ b/src/audio_core/common.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/cubeb_sink.cpp b/src/audio_core/cubeb_sink.cppindex 13de3087c1..e48c1ee8eb 100644--- a/src/audio_core/cubeb_sink.cpp+++ b/src/audio_core/cubeb_sink.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <atomic>diff --git a/src/audio_core/cubeb_sink.h b/src/audio_core/cubeb_sink.hindex 7ce850f475..c124b7ee8b 100644--- a/src/audio_core/cubeb_sink.h+++ b/src/audio_core/cubeb_sink.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/delay_line.cpp b/src/audio_core/delay_line.cppindex 2793ed8db6..b1626a71be 100644--- a/src/audio_core/delay_line.cpp+++ b/src/audio_core/delay_line.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "audio_core/delay_line.h"diff --git a/src/audio_core/delay_line.h b/src/audio_core/delay_line.hindex 84f11bc52f..05fda536f9 100644--- a/src/audio_core/delay_line.h+++ b/src/audio_core/delay_line.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/effect_context.cpp b/src/audio_core/effect_context.cppindex 89e4573c79..51059580e4 100644--- a/src/audio_core/effect_context.cpp+++ b/src/audio_core/effect_context.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include "audio_core/effect_context.h"diff --git a/src/audio_core/effect_context.h b/src/audio_core/effect_context.hindex 5e0655dd7e..cb47df4729 100644--- a/src/audio_core/effect_context.h+++ b/src/audio_core/effect_context.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/info_updater.cpp b/src/audio_core/info_updater.cppindex 9b4ca1851a..313a2eb6da 100644--- a/src/audio_core/info_updater.cpp+++ b/src/audio_core/info_updater.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "audio_core/behavior_info.h"#include "audio_core/effect_context.h"diff --git a/src/audio_core/info_updater.h b/src/audio_core/info_updater.hindex d315c91ed0..6aab5beaf7 100644--- a/src/audio_core/info_updater.h+++ b/src/audio_core/info_updater.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/memory_pool.cpp b/src/audio_core/memory_pool.cppindex 6b6908d266..627e5f15e6 100644--- a/src/audio_core/memory_pool.cpp+++ b/src/audio_core/memory_pool.cpp@@ -1,7 +1,6 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "audio_core/memory_pool.h"#include "common/logging/log.h"diff --git a/src/audio_core/memory_pool.h b/src/audio_core/memory_pool.hindex 3e9e777ae9..e71bc025bc 100644--- a/src/audio_core/memory_pool.h+++ b/src/audio_core/memory_pool.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/mix_context.cpp b/src/audio_core/mix_context.cppindex 057aab5add..bcaa7afabd 100644--- a/src/audio_core/mix_context.cpp+++ b/src/audio_core/mix_context.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/audio_core/mix_context.h b/src/audio_core/mix_context.hindex 68bc673c6c..3939c77e93 100644--- a/src/audio_core/mix_context.h+++ b/src/audio_core/mix_context.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/null_sink.h b/src/audio_core/null_sink.hindex 61a28d5429..37b2f7eff2 100644--- a/src/audio_core/null_sink.h+++ b/src/audio_core/null_sink.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/sdl2_sink.cpp b/src/audio_core/sdl2_sink.cppindex 2d14ce2cb1..a10ba40441 100644--- a/src/audio_core/sdl2_sink.cpp+++ b/src/audio_core/sdl2_sink.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <atomic>diff --git a/src/audio_core/sdl2_sink.h b/src/audio_core/sdl2_sink.hindex 8ec1526d80..f1dd1d677c 100644--- a/src/audio_core/sdl2_sink.h+++ b/src/audio_core/sdl2_sink.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/sink.h b/src/audio_core/sink.hindex 95c7b2b6ec..3c03554fa3 100644--- a/src/audio_core/sink.h+++ b/src/audio_core/sink.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/sink_context.cpp b/src/audio_core/sink_context.cppindex cc55b290c8..835e12f67a 100644--- a/src/audio_core/sink_context.cpp+++ b/src/audio_core/sink_context.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "audio_core/sink_context.h"diff --git a/src/audio_core/sink_context.h b/src/audio_core/sink_context.hindex 254961fe29..cc5a90d804 100644--- a/src/audio_core/sink_context.h+++ b/src/audio_core/sink_context.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/sink_details.cpp b/src/audio_core/sink_details.cppindex de10aecd21..c4cc661119 100644--- a/src/audio_core/sink_details.cpp+++ b/src/audio_core/sink_details.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <memory>diff --git a/src/audio_core/sink_details.h b/src/audio_core/sink_details.hindex bc8786270d..0427663582 100644--- a/src/audio_core/sink_details.h+++ b/src/audio_core/sink_details.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/sink_stream.h b/src/audio_core/sink_stream.hindex 4309ad094c..0449b90afa 100644--- a/src/audio_core/sink_stream.h+++ b/src/audio_core/sink_stream.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/splitter_context.cpp b/src/audio_core/splitter_context.cppindex f4bcd03919..1751d0212a 100644--- a/src/audio_core/splitter_context.cpp+++ b/src/audio_core/splitter_context.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "audio_core/behavior_info.h"#include "audio_core/splitter_context.h"diff --git a/src/audio_core/splitter_context.h b/src/audio_core/splitter_context.hindex b490627f59..3a4b055eb5 100644--- a/src/audio_core/splitter_context.h+++ b/src/audio_core/splitter_context.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/stream.cpp b/src/audio_core/stream.cppindex 0abc989b2f..f8034b04bf 100644--- a/src/audio_core/stream.cpp+++ b/src/audio_core/stream.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cmath>diff --git a/src/audio_core/stream.h b/src/audio_core/stream.hindex dbd97ec9c3..f5de703962 100644--- a/src/audio_core/stream.h+++ b/src/audio_core/stream.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/audio_core/voice_context.cpp b/src/audio_core/voice_context.cppindex 75012a887f..c8e4a6caf5 100644--- a/src/audio_core/voice_context.cpp+++ b/src/audio_core/voice_context.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/audio_core/voice_context.h b/src/audio_core/voice_context.hindex e1050897bb..259220dc76 100644--- a/src/audio_core/voice_context.h+++ b/src/audio_core/voice_context.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/algorithm.h b/src/common/algorithm.hindex 4804a3421c..9ddfd637b6 100644--- a/src/common/algorithm.h+++ b/src/common/algorithm.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/assert.cpp b/src/common/assert.cppindex 72f1121aa2..b445705285 100644--- a/src/common/assert.cpp+++ b/src/common/assert.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/common_funcs.h"diff --git a/src/common/atomic_ops.h b/src/common/atomic_ops.hindex 69fde8421a..c18bb33c4a 100644--- a/src/common/atomic_ops.h+++ b/src/common/atomic_ops.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/bit_cast.h b/src/common/bit_cast.hindex a32a063d1e..535148b4dc 100644--- a/src/common/bit_cast.h+++ b/src/common/bit_cast.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/bit_set.h b/src/common/bit_set.hindex 9235ad4128..74754504be 100644--- a/src/common/bit_set.h+++ b/src/common/bit_set.h@@ -1,18 +1,5 @@-/*- * Copyright (c) 2018-2020 Atmosphère-NX- *- * This program is free software; you can redistribute it and/or modify it- * under the terms and conditions of the GNU General Public License,- * version 2, as published by the Free Software Foundation.- *- * This program is distributed in the hope it will be useful, but WITHOUT- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for- * more details.- *- * You should have received a copy of the GNU General Public License- * along with this program. If not, see <http://www.gnu.org/licenses/>.- */+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/bit_util.h b/src/common/bit_util.hindex f37538e06c..e4e6287f3d 100644--- a/src/common/bit_util.h+++ b/src/common/bit_util.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/common_funcs.h b/src/common/common_funcs.hindex 4c1e29de61..adc31c7581 100644--- a/src/common/common_funcs.h+++ b/src/common/common_funcs.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/concepts.h b/src/common/concepts.hindex aa08065a7f..a97555f6af 100644--- a/src/common/concepts.h+++ b/src/common/concepts.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/div_ceil.h b/src/common/div_ceil.hindex e1db35464a..eebc279c27 100644--- a/src/common/div_ceil.h+++ b/src/common/div_ceil.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/expected.h b/src/common/expected.hindex c8d8579c1d..6e6c86ee73 100644--- a/src/common/expected.h+++ b/src/common/expected.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// This is based on the proposed implementation of std::expected (P0323)// https://github.com/TartanLlama/expected/blob/master/include/tl/expected.hppdiff --git a/src/common/fiber.cpp b/src/common/fiber.cppindex 177a74deba..f9aeb692a4 100644--- a/src/common/fiber.cpp+++ b/src/common/fiber.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <mutex>diff --git a/src/common/fiber.h b/src/common/fiber.hindex f2a8ff29ae..873604bc6d 100644--- a/src/common/fiber.h+++ b/src/common/fiber.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/fs/file.cpp b/src/common/fs/file.cppindex 5d71275ef2..fa8422c415 100644--- a/src/common/fs/file.cpp+++ b/src/common/fs/file.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/fs/file.h"#include "common/fs/fs.h"diff --git a/src/common/fs/file.h b/src/common/fs/file.hindex 8a2cab0aff..69b53384c5 100644--- a/src/common/fs/file.h+++ b/src/common/fs/file.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/fs/fs.cpp b/src/common/fs/fs.cppindex 9089cad67b..e1716c62de 100644--- a/src/common/fs/fs.cpp+++ b/src/common/fs/fs.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/fs/file.h"#include "common/fs/fs.h"diff --git a/src/common/fs/fs.h b/src/common/fs/fs.hindex 183126de3b..ce3eb309a8 100644--- a/src/common/fs/fs.h+++ b/src/common/fs/fs.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/fs/fs_paths.h b/src/common/fs/fs_paths.hindex 5d447f108d..c77c112f17 100644--- a/src/common/fs/fs_paths.h+++ b/src/common/fs/fs_paths.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/fs/fs_types.h b/src/common/fs/fs_types.hindex f5853f624a..5a4090c190 100644--- a/src/common/fs/fs_types.h+++ b/src/common/fs/fs_types.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/fs/fs_util.cpp b/src/common/fs/fs_util.cppindex 0068112e63..eb4ac1deb4 100644--- a/src/common/fs/fs_util.cpp+++ b/src/common/fs/fs_util.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/common/fs/fs_util.h b/src/common/fs/fs_util.hindex 392af89f73..2492a9f942 100644--- a/src/common/fs/fs_util.h+++ b/src/common/fs/fs_util.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/fs/path_util.cpp b/src/common/fs/path_util.cppindex 1bcb897b57..62318e70cb 100644--- a/src/common/fs/path_util.cpp+++ b/src/common/fs/path_util.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <unordered_map>diff --git a/src/common/fs/path_util.h b/src/common/fs/path_util.hindex 0a9e3a1455..13d713f1ef 100644--- a/src/common/fs/path_util.h+++ b/src/common/fs/path_util.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/host_memory.cpp b/src/common/host_memory.cppindex 802943eb71..7f96596122 100644--- a/src/common/host_memory.cpp+++ b/src/common/host_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef _WIN32diff --git a/src/common/host_memory.h b/src/common/host_memory.hindex 9b8326d0fb..447975ded7 100644--- a/src/common/host_memory.h+++ b/src/common/host_memory.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/intrusive_red_black_tree.h b/src/common/intrusive_red_black_tree.hindex eaf5675e38..93046615ec 100644--- a/src/common/intrusive_red_black_tree.h+++ b/src/common/intrusive_red_black_tree.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/literals.h b/src/common/literals.hindex d55fed40be..0ad314afb9 100644--- a/src/common/literals.h+++ b/src/common/literals.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/logging/formatter.h b/src/common/logging/formatter.hindex 552cde75a7..88e55505de 100644--- a/src/common/logging/formatter.h+++ b/src/common/logging/formatter.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/logging/log_entry.h b/src/common/logging/log_entry.hindex b28570071c..d8d7daf762 100644--- a/src/common/logging/log_entry.h+++ b/src/common/logging/log_entry.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/logging/types.h b/src/common/logging/types.hindex 99c15fa96b..cabb4db8eb 100644--- a/src/common/logging/types.h+++ b/src/common/logging/types.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/lru_cache.h b/src/common/lru_cache.hindex 365488ba5d..36cea5d27e 100644--- a/src/common/lru_cache.h+++ b/src/common/lru_cache.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2+ or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/lz4_compression.cpp b/src/common/lz4_compression.cppindex dbb40da7c0..ffb32fecfc 100644--- a/src/common/lz4_compression.cpp+++ b/src/common/lz4_compression.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <lz4hc.h>diff --git a/src/common/lz4_compression.h b/src/common/lz4_compression.hindex 1b47175959..7fd53a960b 100644--- a/src/common/lz4_compression.h+++ b/src/common/lz4_compression.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/memory_detect.cpp b/src/common/memory_detect.cppindex 7a75a5ff4e..86a3abcc6d 100644--- a/src/common/memory_detect.cpp+++ b/src/common/memory_detect.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef _WIN32// clang-format offdiff --git a/src/common/memory_detect.h b/src/common/memory_detect.hindex 0f73751c8f..a345e6d28d 100644--- a/src/common/memory_detect.h+++ b/src/common/memory_detect.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/nvidia_flags.cpp b/src/common/nvidia_flags.cppindex c732c233ee..7ed7690ee4 100644--- a/src/common/nvidia_flags.cpp+++ b/src/common/nvidia_flags.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstdlib>diff --git a/src/common/nvidia_flags.h b/src/common/nvidia_flags.hindex 8930efcecb..8c3b1bfb92 100644--- a/src/common/nvidia_flags.h+++ b/src/common/nvidia_flags.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/page_table.cpp b/src/common/page_table.cppindex 4817b09f9e..b744b68ce8 100644--- a/src/common/page_table.cpp+++ b/src/common/page_table.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/page_table.h"diff --git a/src/common/page_table.h b/src/common/page_table.hindex 13f4b44c0e..fcbd12a438 100644--- a/src/common/page_table.h+++ b/src/common/page_table.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/parent_of_member.h b/src/common/parent_of_member.hindex ad075615b0..70b1c56248 100644--- a/src/common/parent_of_member.h+++ b/src/common/parent_of_member.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/point.h b/src/common/point.hindex c0a52ad8d2..6491856ea8 100644--- a/src/common/point.h+++ b/src/common/point.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/ring_buffer.h b/src/common/ring_buffer.hindex db6aa6b950..4c328ab446 100644--- a/src/common/ring_buffer.h+++ b/src/common/ring_buffer.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/settings.cpp b/src/common/settings.cppindex 877e0faa44..fdc0123552 100644--- a/src/common/settings.cpp+++ b/src/common/settings.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/common/settings.h b/src/common/settings.hindex 3b7be63b3f..5b34169a8b 100644--- a/src/common/settings.h+++ b/src/common/settings.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/settings_input.cpp b/src/common/settings_input.cppindex bea2b837bd..0a6eea3cf4 100644--- a/src/common/settings_input.cpp+++ b/src/common/settings_input.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings_input.h"diff --git a/src/common/settings_input.h b/src/common/settings_input.hindex 6f42346bc6..485e4ad223 100644--- a/src/common/settings_input.h+++ b/src/common/settings_input.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/spin_lock.cpp b/src/common/spin_lock.cppindex c1524220f6..b2ef4ea1d0 100644--- a/src/common/spin_lock.cpp+++ b/src/common/spin_lock.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/spin_lock.h"diff --git a/src/common/spin_lock.h b/src/common/spin_lock.hindex 06ac2f5bbb..a83274851b 100644--- a/src/common/spin_lock.h+++ b/src/common/spin_lock.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/stream.cpp b/src/common/stream.cppindex bf0496c265..80ddd68c81 100644--- a/src/common/stream.cpp+++ b/src/common/stream.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <stdexcept>#include "common/common_types.h"diff --git a/src/common/stream.h b/src/common/stream.hindex 0e40692de1..5bb26e8835 100644--- a/src/common/stream.h+++ b/src/common/stream.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/thread_worker.h b/src/common/thread_worker.hindex cd0017726f..62c60f7242 100644--- a/src/common/thread_worker.h+++ b/src/common/thread_worker.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/time_zone.cpp b/src/common/time_zone.cppindex ce239eb63f..126836b019 100644--- a/src/common/time_zone.cpp+++ b/src/common/time_zone.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <chrono>#include <iomanip>diff --git a/src/common/time_zone.h b/src/common/time_zone.hindex 9f5939ca50..99cae6ef2f 100644--- a/src/common/time_zone.h+++ b/src/common/time_zone.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/tiny_mt.h b/src/common/tiny_mt.hindex 19ae5b7d6f..5d5ebf158c 100644--- a/src/common/tiny_mt.h+++ b/src/common/tiny_mt.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/uint128.h b/src/common/uint128.hindex ad1b90414b..f890ffec24 100644--- a/src/common/uint128.h+++ b/src/common/uint128.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/unique_function.h b/src/common/unique_function.hindex ca05590715..c15d88349e 100644--- a/src/common/unique_function.h+++ b/src/common/unique_function.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/uuid.cpp b/src/common/uuid.cppindex 2b6a530e39..89e1ed225c 100644--- a/src/common/uuid.cpp+++ b/src/common/uuid.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <bit>#include <optional>diff --git a/src/common/uuid.h b/src/common/uuid.hindex c450d9e202..7172ca1657 100644--- a/src/common/uuid.h+++ b/src/common/uuid.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/virtual_buffer.cpp b/src/common/virtual_buffer.cppindex e3ca292581..dea6de99f0 100644--- a/src/common/virtual_buffer.cpp+++ b/src/common/virtual_buffer.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef _WIN32#include <windows.h>diff --git a/src/common/virtual_buffer.h b/src/common/virtual_buffer.hindex cac4f48955..4f6e3e6e5c 100644--- a/src/common/virtual_buffer.h+++ b/src/common/virtual_buffer.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/wall_clock.cpp b/src/common/wall_clock.cppindex f30d916922..b4fb3a59f0 100644--- a/src/common/wall_clock.cpp+++ b/src/common/wall_clock.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/uint128.h"#include "common/wall_clock.h"diff --git a/src/common/wall_clock.h b/src/common/wall_clock.hindex 874448c27c..828a523a86 100644--- a/src/common/wall_clock.h+++ b/src/common/wall_clock.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/x64/cpu_detect.cpp b/src/common/x64/cpu_detect.cppindex f5296b32af..322aa1f088 100644--- a/src/common/x64/cpu_detect.cpp+++ b/src/common/x64/cpu_detect.cpp@@ -1,5 +1,6 @@-// Copyright 2013 Dolphin Emulator Project / 2015 Citra Emulator Project / 2022 Yuzu Emulator-// Project Licensed under GPLv2 or any later version Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2013 Dolphin Emulator Project / 2015 Citra Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <cstring>diff --git a/src/common/x64/cpu_detect.h b/src/common/x64/cpu_detect.hindex 40c48b1323..9bdc9dbfa9 100644--- a/src/common/x64/cpu_detect.h+++ b/src/common/x64/cpu_detect.h@@ -1,5 +1,6 @@-// Copyright 2013 Dolphin Emulator Project / 2015 Citra Emulator Project / 2022 Yuzu Emulator-// Project Project Licensed under GPLv2 or any later version Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2013 Dolphin Emulator Project / 2015 Citra Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/x64/native_clock.cpp b/src/common/x64/native_clock.cppindex 7fd9d22f81..1b71945037 100644--- a/src/common/x64/native_clock.cpp+++ b/src/common/x64/native_clock.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <chrono>diff --git a/src/common/x64/native_clock.h b/src/common/x64/native_clock.hindex 2c3082ea0a..30d2ba2e91 100644--- a/src/common/x64/native_clock.h+++ b/src/common/x64/native_clock.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/common/zstd_compression.cpp b/src/common/zstd_compression.cppindex 695b96a430..b71a41b78c 100644--- a/src/common/zstd_compression.cpp+++ b/src/common/zstd_compression.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <zstd.h>diff --git a/src/common/zstd_compression.h b/src/common/zstd_compression.hindex bbce14f4e1..a5ab2d05bd 100644--- a/src/common/zstd_compression.h+++ b/src/common/zstd_compression.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/arm/arm_interface.cpp b/src/core/arm/arm_interface.cppindex 2a9390e265..c347e7ea7c 100644--- a/src/core/arm/arm_interface.cpp+++ b/src/core/arm/arm_interface.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <map>#include <optional>diff --git a/src/core/arm/cpu_interrupt_handler.cpp b/src/core/arm/cpu_interrupt_handler.cppindex 9c88987003..77b6194d7d 100644--- a/src/core/arm/cpu_interrupt_handler.cpp+++ b/src/core/arm/cpu_interrupt_handler.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/thread.h"#include "core/arm/cpu_interrupt_handler.h"diff --git a/src/core/arm/cpu_interrupt_handler.h b/src/core/arm/cpu_interrupt_handler.hindex c20c280f15..286e12e53a 100644--- a/src/core/arm/cpu_interrupt_handler.h+++ b/src/core/arm/cpu_interrupt_handler.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/arm/dynarmic/arm_dynarmic_32.cpp b/src/core/arm/dynarmic/arm_dynarmic_32.cppindex da5659046a..60e9edff26 100644--- a/src/core/arm/dynarmic/arm_dynarmic_32.cpp+++ b/src/core/arm/dynarmic/arm_dynarmic_32.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cinttypes>#include <memory>diff --git a/src/core/arm/dynarmic/arm_dynarmic_32.h b/src/core/arm/dynarmic/arm_dynarmic_32.hindex 1b628f94d4..a25c9d2772 100644--- a/src/core/arm/dynarmic/arm_dynarmic_32.h+++ b/src/core/arm/dynarmic/arm_dynarmic_32.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/arm/dynarmic/arm_dynarmic_64.cpp b/src/core/arm/dynarmic/arm_dynarmic_64.cppindex 871d9d10e9..d8d3a38db9 100644--- a/src/core/arm/dynarmic/arm_dynarmic_64.cpp+++ b/src/core/arm/dynarmic/arm_dynarmic_64.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cinttypes>#include <memory>diff --git a/src/core/arm/dynarmic/arm_dynarmic_64.h b/src/core/arm/dynarmic/arm_dynarmic_64.hindex 78773e293f..9680c7b995 100644--- a/src/core/arm/dynarmic/arm_dynarmic_64.h+++ b/src/core/arm/dynarmic/arm_dynarmic_64.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/arm/dynarmic/arm_exclusive_monitor.cpp b/src/core/arm/dynarmic/arm_exclusive_monitor.cppindex ea6b224e09..fa0c48b25f 100644--- a/src/core/arm/dynarmic/arm_exclusive_monitor.cpp+++ b/src/core/arm/dynarmic/arm_exclusive_monitor.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/arm/dynarmic/arm_exclusive_monitor.h"#include "core/memory.h"diff --git a/src/core/arm/dynarmic/arm_exclusive_monitor.h b/src/core/arm/dynarmic/arm_exclusive_monitor.hindex b82c77f764..57e6dd0d0b 100644--- a/src/core/arm/dynarmic/arm_exclusive_monitor.h+++ b/src/core/arm/dynarmic/arm_exclusive_monitor.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/arm/exclusive_monitor.cpp b/src/core/arm/exclusive_monitor.cppindex d8cba369dc..2db0b035dc 100644--- a/src/core/arm/exclusive_monitor.cpp+++ b/src/core/arm/exclusive_monitor.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef ARCHITECTURE_x86_64#include "core/arm/dynarmic/arm_exclusive_monitor.h"diff --git a/src/core/arm/exclusive_monitor.h b/src/core/arm/exclusive_monitor.hindex 9914ca3da6..15d3c96c13 100644--- a/src/core/arm/exclusive_monitor.h+++ b/src/core/arm/exclusive_monitor.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/arm/symbols.cpp b/src/core/arm/symbols.cppindex 26c44f0c78..4aa1a1ee17 100644--- a/src/core/arm/symbols.cpp+++ b/src/core/arm/symbols.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_funcs.h"diff --git a/src/core/arm/symbols.h b/src/core/arm/symbols.hindex 99e6a9f8e7..42631b09a6 100644--- a/src/core/arm/symbols.h+++ b/src/core/arm/symbols.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/constants.cpp b/src/core/constants.cppindex dccb3e03c5..4430173ef0 100644--- a/src/core/constants.cpp+++ b/src/core/constants.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/constants.h"diff --git a/src/core/constants.h b/src/core/constants.hindex 81c5cb2793..f916ce0b68 100644--- a/src/core/constants.h+++ b/src/core/constants.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/core_timing.cpp b/src/core/core_timing.cppindex c2f0f609f6..29e7dba9b1 100644--- a/src/core/core_timing.cpp+++ b/src/core/core_timing.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <mutex>diff --git a/src/core/core_timing.h b/src/core/core_timing.hindex 28b63be438..d277730096 100644--- a/src/core/core_timing.h+++ b/src/core/core_timing.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/core_timing_util.h b/src/core/core_timing_util.hindex 14c36a4854..fe5aaefc70 100644--- a/src/core/core_timing_util.h+++ b/src/core/core_timing_util.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cppindex cbcc548918..09d9c5163b 100644--- a/src/core/cpu_manager.cpp+++ b/src/core/cpu_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/fiber.h"#include "common/microprofile.h"diff --git a/src/core/cpu_manager.h b/src/core/cpu_manager.hindex 9d92d4af00..aee3522454 100644--- a/src/core/cpu_manager.h+++ b/src/core/cpu_manager.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/crypto/aes_util.cpp b/src/core/crypto/aes_util.cppindex 85a666de93..cd7e15a582 100644--- a/src/core/crypto/aes_util.cpp+++ b/src/core/crypto/aes_util.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <mbedtls/cipher.h>diff --git a/src/core/crypto/aes_util.h b/src/core/crypto/aes_util.hindex 230451b8f4..a67ba53525 100644--- a/src/core/crypto/aes_util.h+++ b/src/core/crypto/aes_util.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/crypto/ctr_encryption_layer.cpp b/src/core/crypto/ctr_encryption_layer.cppindex 3a2af4f50c..b48c3f041f 100644--- a/src/core/crypto/ctr_encryption_layer.cpp+++ b/src/core/crypto/ctr_encryption_layer.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/crypto/ctr_encryption_layer.h b/src/core/crypto/ctr_encryption_layer.hindex f86f01b6f8..77f08d7762 100644--- a/src/core/crypto/ctr_encryption_layer.h+++ b/src/core/crypto/ctr_encryption_layer.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/crypto/encryption_layer.cpp b/src/core/crypto/encryption_layer.cppindex 4c377d7d49..cd10551ec4 100644--- a/src/core/crypto/encryption_layer.cpp+++ b/src/core/crypto/encryption_layer.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/crypto/encryption_layer.h"diff --git a/src/core/crypto/encryption_layer.h b/src/core/crypto/encryption_layer.hindex 53619cb384..d3082ba53f 100644--- a/src/core/crypto/encryption_layer.h+++ b/src/core/crypto/encryption_layer.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/crypto/key_manager.cpp b/src/core/crypto/key_manager.cppindex 9244907b5b..e3c4f80eb2 100644--- a/src/core/crypto/key_manager.cpp+++ b/src/core/crypto/key_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/crypto/key_manager.h b/src/core/crypto/key_manager.hindex ac1eb89627..dbf9ebfe47 100644--- a/src/core/crypto/key_manager.h+++ b/src/core/crypto/key_manager.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/crypto/partition_data_manager.cpp b/src/core/crypto/partition_data_manager.cppindex d18252a545..97f5c8cea3 100644--- a/src/core/crypto/partition_data_manager.cpp+++ b/src/core/crypto/partition_data_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// NOTE TO FUTURE MAINTAINERS:// When a new version of switch cryptography is released,diff --git a/src/core/crypto/partition_data_manager.h b/src/core/crypto/partition_data_manager.hindex 7a7b5d0389..057a706834 100644--- a/src/core/crypto/partition_data_manager.h+++ b/src/core/crypto/partition_data_manager.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/crypto/sha_util.cpp b/src/core/crypto/sha_util.cppindex 180008a859..7a2c048389 100644--- a/src/core/crypto/sha_util.cpp+++ b/src/core/crypto/sha_util.cpp@@ -1,5 +1,4 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-laternamespace Crypto {} // namespace Cryptodiff --git a/src/core/crypto/sha_util.h b/src/core/crypto/sha_util.hindex fa3fa9d33e..5c2c43dbdb 100644--- a/src/core/crypto/sha_util.h+++ b/src/core/crypto/sha_util.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/crypto/xts_encryption_layer.cpp b/src/core/crypto/xts_encryption_layer.cppindex c2b7ea3091..b60303412b 100644--- a/src/core/crypto/xts_encryption_layer.cpp+++ b/src/core/crypto/xts_encryption_layer.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/crypto/xts_encryption_layer.h b/src/core/crypto/xts_encryption_layer.hindex 5f8f00fe76..735e660cb9 100644--- a/src/core/crypto/xts_encryption_layer.h+++ b/src/core/crypto/xts_encryption_layer.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/device_memory.cpp b/src/core/device_memory.cppindex e6bc630864..f8b5be2b43 100644--- a/src/core/device_memory.cpp+++ b/src/core/device_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/device_memory.h"#include "hle/kernel/board/nintendo/nx/k_system_control.h"diff --git a/src/core/device_memory.h b/src/core/device_memory.hindex daeb551eab..df61b0c0b6 100644--- a/src/core/device_memory.h+++ b/src/core/device_memory.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/bis_factory.cpp b/src/core/file_sys/bis_factory.cppindex f3891acf18..c750c0da72 100644--- a/src/core/file_sys/bis_factory.cpp+++ b/src/core/file_sys/bis_factory.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <fmt/format.h>#include "common/fs/path_util.h"diff --git a/src/core/file_sys/bis_factory.h b/src/core/file_sys/bis_factory.hindex 136485881a..26f0c6e5e4 100644--- a/src/core/file_sys/bis_factory.h+++ b/src/core/file_sys/bis_factory.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/card_image.cpp b/src/core/file_sys/card_image.cppindex c6300be59c..f23d9373bd 100644--- a/src/core/file_sys/card_image.cpp+++ b/src/core/file_sys/card_image.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <string>diff --git a/src/core/file_sys/card_image.h b/src/core/file_sys/card_image.hindex 0fd9fa87ca..1283f82160 100644--- a/src/core/file_sys/card_image.h+++ b/src/core/file_sys/card_image.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/common_funcs.h b/src/core/file_sys/common_funcs.hindex 7ed97aa504..3dd8f12442 100644--- a/src/core/file_sys/common_funcs.h+++ b/src/core/file_sys/common_funcs.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/content_archive.cpp b/src/core/file_sys/content_archive.cppindex 7019a7a684..93f7844183 100644--- a/src/core/file_sys/content_archive.cpp+++ b/src/core/file_sys/content_archive.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/file_sys/content_archive.h b/src/core/file_sys/content_archive.hindex e9eccdea31..7fdc45ea71 100644--- a/src/core/file_sys/content_archive.h+++ b/src/core/file_sys/content_archive.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/control_metadata.cpp b/src/core/file_sys/control_metadata.cppindex 05936f3c3e..be25da2f6d 100644--- a/src/core/file_sys/control_metadata.cpp+++ b/src/core/file_sys/control_metadata.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/string_util.h"#include "common/swap.h"diff --git a/src/core/file_sys/control_metadata.h b/src/core/file_sys/control_metadata.hindex 3e0b456306..75295519c7 100644--- a/src/core/file_sys/control_metadata.h+++ b/src/core/file_sys/control_metadata.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/directory.h b/src/core/file_sys/directory.hindex 9a3b62117e..a853c00f39 100644--- a/src/core/file_sys/directory.h+++ b/src/core/file_sys/directory.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/fsmitm_romfsbuild.cpp b/src/core/file_sys/fsmitm_romfsbuild.cppindex 1ca1d536f7..1ff83c08cf 100644--- a/src/core/file_sys/fsmitm_romfsbuild.cpp+++ b/src/core/file_sys/fsmitm_romfsbuild.cpp@@ -1,26 +1,5 @@-/*- * Copyright (c) 2018 Atmosphère-NX- *- * This program is free software; you can redistribute it and/or modify it- * under the terms and conditions of the GNU General Public License,- * version 2, as published by the Free Software Foundation.- *- * This program is distributed in the hope it will be useful, but WITHOUT- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for- * more details.- *- * You should have received a copy of the GNU General Public License- * along with this program. If not, see <http://www.gnu.org/licenses/>.- */--/*- * Adapted by DarkLordZach for use/interaction with yuzu- *- * Modifications Copyright 2018 yuzu emulator team- * Licensed under GPLv2 or any later version- * Refer to the license.txt file included.- */+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include <string_view>diff --git a/src/core/file_sys/fsmitm_romfsbuild.h b/src/core/file_sys/fsmitm_romfsbuild.hindex 8d4d89fab9..06e5d5a47c 100644--- a/src/core/file_sys/fsmitm_romfsbuild.h+++ b/src/core/file_sys/fsmitm_romfsbuild.h@@ -1,26 +1,5 @@-/*- * Copyright (c) 2018 Atmosphère-NX- *- * This program is free software; you can redistribute it and/or modify it- * under the terms and conditions of the GNU General Public License,- * version 2, as published by the Free Software Foundation.- *- * This program is distributed in the hope it will be useful, but WITHOUT- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for- * more details.- *- * You should have received a copy of the GNU General Public License- * along with this program. If not, see <http://www.gnu.org/licenses/>.- */--/*- * Adapted by DarkLordZach for use/interaction with yuzu- *- * Modifications Copyright 2018 yuzu emulator team- * Licensed under GPLv2 or any later version- * Refer to the license.txt file included.- */+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/ips_layer.cpp b/src/core/file_sys/ips_layer.cppindex a6101f1c04..4b35ca82fa 100644--- a/src/core/file_sys/ips_layer.cpp+++ b/src/core/file_sys/ips_layer.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/file_sys/ips_layer.h b/src/core/file_sys/ips_layer.hindex 450b2f71e0..f2717bae76 100644--- a/src/core/file_sys/ips_layer.h+++ b/src/core/file_sys/ips_layer.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/kernel_executable.cpp b/src/core/file_sys/kernel_executable.cppindex ef93ef3edc..70c062f4c6 100644--- a/src/core/file_sys/kernel_executable.cpp+++ b/src/core/file_sys/kernel_executable.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>diff --git a/src/core/file_sys/kernel_executable.h b/src/core/file_sys/kernel_executable.hindex 79ca82f8b8..d5b9199b56 100644--- a/src/core/file_sys/kernel_executable.h+++ b/src/core/file_sys/kernel_executable.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/mode.h b/src/core/file_sys/mode.hindex 6c49a64e2e..9596ef4fd5 100644--- a/src/core/file_sys/mode.h+++ b/src/core/file_sys/mode.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/nca_metadata.cpp b/src/core/file_sys/nca_metadata.cppindex f5cb4aa8c6..52c78020c3 100644--- a/src/core/file_sys/nca_metadata.cpp+++ b/src/core/file_sys/nca_metadata.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/common_types.h"diff --git a/src/core/file_sys/nca_metadata.h b/src/core/file_sys/nca_metadata.hindex 75c74ae28c..c59ece0106 100644--- a/src/core/file_sys/nca_metadata.h+++ b/src/core/file_sys/nca_metadata.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/nca_patch.cpp b/src/core/file_sys/nca_patch.cppindex b36827b757..d4c0a974a1 100644--- a/src/core/file_sys/nca_patch.cpp+++ b/src/core/file_sys/nca_patch.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/file_sys/nca_patch.h b/src/core/file_sys/nca_patch.hindex 503cf473eb..595e3ef09c 100644--- a/src/core/file_sys/nca_patch.h+++ b/src/core/file_sys/nca_patch.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/partition_filesystem.cpp b/src/core/file_sys/partition_filesystem.cppindex c5967049e8..2527ae606d 100644--- a/src/core/file_sys/partition_filesystem.cpp+++ b/src/core/file_sys/partition_filesystem.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstddef>diff --git a/src/core/file_sys/partition_filesystem.h b/src/core/file_sys/partition_filesystem.hindex 0f831148ee..b6e3a2b0c0 100644--- a/src/core/file_sys/partition_filesystem.h+++ b/src/core/file_sys/partition_filesystem.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/patch_manager.cpp b/src/core/file_sys/patch_manager.cppindex 73e724f3d5..bd525b26cf 100644--- a/src/core/file_sys/patch_manager.cpp+++ b/src/core/file_sys/patch_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/file_sys/patch_manager.h b/src/core/file_sys/patch_manager.hindex 3be871f35d..69d15e2f89 100644--- a/src/core/file_sys/patch_manager.h+++ b/src/core/file_sys/patch_manager.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/program_metadata.cpp b/src/core/file_sys/program_metadata.cppindex 4e46c24cf4..e0cdf35205 100644--- a/src/core/file_sys/program_metadata.cpp+++ b/src/core/file_sys/program_metadata.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstddef>#include <vector>diff --git a/src/core/file_sys/program_metadata.h b/src/core/file_sys/program_metadata.hindex 32435e1237..e8fb4e27fc 100644--- a/src/core/file_sys/program_metadata.h+++ b/src/core/file_sys/program_metadata.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/registered_cache.cpp b/src/core/file_sys/registered_cache.cppindex 4ada4a69bf..2eaac73ef8 100644--- a/src/core/file_sys/registered_cache.cpp+++ b/src/core/file_sys/registered_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <random>diff --git a/src/core/file_sys/registered_cache.h b/src/core/file_sys/registered_cache.hindex d042aef90b..587f8cae8a 100644--- a/src/core/file_sys/registered_cache.h+++ b/src/core/file_sys/registered_cache.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/romfs.cpp b/src/core/file_sys/romfs.cppindex 1200321349..ddcfe5980e 100644--- a/src/core/file_sys/romfs.cpp+++ b/src/core/file_sys/romfs.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/file_sys/romfs.h b/src/core/file_sys/romfs.hindex 82e6837820..5d7f0c2a8a 100644--- a/src/core/file_sys/romfs.h+++ b/src/core/file_sys/romfs.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/romfs_factory.cpp b/src/core/file_sys/romfs_factory.cppindex 291b746b63..ae7a3511b2 100644--- a/src/core/file_sys/romfs_factory.cpp+++ b/src/core/file_sys/romfs_factory.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include "common/assert.h"diff --git a/src/core/file_sys/romfs_factory.h b/src/core/file_sys/romfs_factory.hindex 2c93a49a5f..14936031fb 100644--- a/src/core/file_sys/romfs_factory.h+++ b/src/core/file_sys/romfs_factory.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/savedata_factory.cpp b/src/core/file_sys/savedata_factory.cppindex e6f8514c9d..8c1b2523cb 100644--- a/src/core/file_sys/savedata_factory.cpp+++ b/src/core/file_sys/savedata_factory.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include "common/assert.h"diff --git a/src/core/file_sys/savedata_factory.h b/src/core/file_sys/savedata_factory.hindex de415b0c42..a763b94c88 100644--- a/src/core/file_sys/savedata_factory.h+++ b/src/core/file_sys/savedata_factory.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/sdmc_factory.cpp b/src/core/file_sys/sdmc_factory.cppindex c0e13e56fd..1df022c9e2 100644--- a/src/core/file_sys/sdmc_factory.cpp+++ b/src/core/file_sys/sdmc_factory.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include "core/file_sys/registered_cache.h"diff --git a/src/core/file_sys/sdmc_factory.h b/src/core/file_sys/sdmc_factory.hindex 3a3d11f3a2..3aebfb25e9 100644--- a/src/core/file_sys/sdmc_factory.h+++ b/src/core/file_sys/sdmc_factory.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/submission_package.cpp b/src/core/file_sys/submission_package.cppindex f03124e3d0..c90e6e3721 100644--- a/src/core/file_sys/submission_package.cpp+++ b/src/core/file_sys/submission_package.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/file_sys/submission_package.h b/src/core/file_sys/submission_package.hindex 030f36c09f..3226b884a0 100644--- a/src/core/file_sys/submission_package.h+++ b/src/core/file_sys/submission_package.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/data/font_chinese_simplified.cpp b/src/core/file_sys/system_archive/data/font_chinese_simplified.cppindex a676867e5b..a1daac3a9f 100644--- a/src/core/file_sys/system_archive/data/font_chinese_simplified.cpp+++ b/src/core/file_sys/system_archive/data/font_chinese_simplified.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/data/font_chinese_simplified.h"diff --git a/src/core/file_sys/system_archive/data/font_chinese_simplified.h b/src/core/file_sys/system_archive/data/font_chinese_simplified.hindex 161de45422..33932c4560 100644--- a/src/core/file_sys/system_archive/data/font_chinese_simplified.h+++ b/src/core/file_sys/system_archive/data/font_chinese_simplified.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/data/font_chinese_traditional.cpp b/src/core/file_sys/system_archive/data/font_chinese_traditional.cppindex cc70a4032c..9b92ec0ff0 100644--- a/src/core/file_sys/system_archive/data/font_chinese_traditional.cpp+++ b/src/core/file_sys/system_archive/data/font_chinese_traditional.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/data/font_chinese_traditional.h"diff --git a/src/core/file_sys/system_archive/data/font_chinese_traditional.h b/src/core/file_sys/system_archive/data/font_chinese_traditional.hindex b16c8e5501..c2ebd4d96a 100644--- a/src/core/file_sys/system_archive/data/font_chinese_traditional.h+++ b/src/core/file_sys/system_archive/data/font_chinese_traditional.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp b/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cppindex 18b8c87e7c..9e43ef2c1e 100644--- a/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp+++ b/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/data/font_extended_chinese_simplified.h"diff --git a/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.h b/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.hindex de8ac57ac4..d640cf7551 100644--- a/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.h+++ b/src/core/file_sys/system_archive/data/font_extended_chinese_simplified.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/data/font_korean.cpp b/src/core/file_sys/system_archive/data/font_korean.cppindex ae9228958a..cba7fe0f80 100644--- a/src/core/file_sys/system_archive/data/font_korean.cpp+++ b/src/core/file_sys/system_archive/data/font_korean.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/data/font_korean.h"diff --git a/src/core/file_sys/system_archive/data/font_korean.h b/src/core/file_sys/system_archive/data/font_korean.hindex e1b02c4e52..1d9ab4b1f9 100644--- a/src/core/file_sys/system_archive/data/font_korean.h+++ b/src/core/file_sys/system_archive/data/font_korean.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/data/font_nintendo_extended.cpp b/src/core/file_sys/system_archive/data/font_nintendo_extended.cppindex 29ef110a6a..eaa8ec2547 100644--- a/src/core/file_sys/system_archive/data/font_nintendo_extended.cpp+++ b/src/core/file_sys/system_archive/data/font_nintendo_extended.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/data/font_nintendo_extended.h"diff --git a/src/core/file_sys/system_archive/data/font_nintendo_extended.h b/src/core/file_sys/system_archive/data/font_nintendo_extended.hindex edb9df914a..247ebb5afe 100644--- a/src/core/file_sys/system_archive/data/font_nintendo_extended.h+++ b/src/core/file_sys/system_archive/data/font_nintendo_extended.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/data/font_standard.cpp b/src/core/file_sys/system_archive/data/font_standard.cppindex 8f4d8448e4..b71ba8a833 100644--- a/src/core/file_sys/system_archive/data/font_standard.cpp+++ b/src/core/file_sys/system_archive/data/font_standard.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/data/font_standard.h"diff --git a/src/core/file_sys/system_archive/data/font_standard.h b/src/core/file_sys/system_archive/data/font_standard.hindex 757593c4b3..ab44108d6a 100644--- a/src/core/file_sys/system_archive/data/font_standard.h+++ b/src/core/file_sys/system_archive/data/font_standard.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/mii_model.cpp b/src/core/file_sys/system_archive/mii_model.cppindex d65c7d2344..5c87b42f86 100644--- a/src/core/file_sys/system_archive/mii_model.cpp+++ b/src/core/file_sys/system_archive/mii_model.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/mii_model.h"#include "core/file_sys/vfs_vector.h"diff --git a/src/core/file_sys/system_archive/mii_model.h b/src/core/file_sys/system_archive/mii_model.hindex 6c2d9398b1..b6cbefe241 100644--- a/src/core/file_sys/system_archive/mii_model.h+++ b/src/core/file_sys/system_archive/mii_model.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/ng_word.cpp b/src/core/file_sys/system_archive/ng_word.cppindex 8d86d563a8..5cf6749daf 100644--- a/src/core/file_sys/system_archive/ng_word.cpp+++ b/src/core/file_sys/system_archive/ng_word.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <fmt/format.h>#include "common/common_types.h"diff --git a/src/core/file_sys/system_archive/ng_word.h b/src/core/file_sys/system_archive/ng_word.hindex cd81e0abbe..1d7b495329 100644--- a/src/core/file_sys/system_archive/ng_word.h+++ b/src/core/file_sys/system_archive/ng_word.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/shared_font.cpp b/src/core/file_sys/system_archive/shared_font.cppindex c5cdf7d9bc..f841988ffc 100644--- a/src/core/file_sys/system_archive/shared_font.cpp+++ b/src/core/file_sys/system_archive/shared_font.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/data/font_chinese_simplified.h"#include "core/file_sys/system_archive/data/font_chinese_traditional.h"diff --git a/src/core/file_sys/system_archive/shared_font.h b/src/core/file_sys/system_archive/shared_font.hindex 6d8de565bf..d1cd1dc44c 100644--- a/src/core/file_sys/system_archive/shared_font.h+++ b/src/core/file_sys/system_archive/shared_font.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/system_archive.cpp b/src/core/file_sys/system_archive/system_archive.cppindex a6696024e8..6abac793bc 100644--- a/src/core/file_sys/system_archive/system_archive.cpp+++ b/src/core/file_sys/system_archive/system_archive.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/file_sys/romfs.h"diff --git a/src/core/file_sys/system_archive/system_archive.h b/src/core/file_sys/system_archive/system_archive.hindex 724a8eb17e..02d9157bb5 100644--- a/src/core/file_sys/system_archive/system_archive.h+++ b/src/core/file_sys/system_archive/system_archive.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/system_version.cpp b/src/core/file_sys/system_archive/system_version.cppindex 9b76d007e6..bd493eccaf 100644--- a/src/core/file_sys/system_archive/system_version.cpp+++ b/src/core/file_sys/system_archive/system_version.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/system_archive/system_version.h"#include "core/file_sys/vfs_vector.h"diff --git a/src/core/file_sys/system_archive/system_version.h b/src/core/file_sys/system_archive/system_version.hindex deed79b266..21b5514a90 100644--- a/src/core/file_sys/system_archive/system_version.h+++ b/src/core/file_sys/system_archive/system_version.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/system_archive/time_zone_binary.cpp b/src/core/file_sys/system_archive/time_zone_binary.cppindex 8fd0050128..85383998d4 100644--- a/src/core/file_sys/system_archive/time_zone_binary.cpp+++ b/src/core/file_sys/system_archive/time_zone_binary.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <vector>diff --git a/src/core/file_sys/system_archive/time_zone_binary.h b/src/core/file_sys/system_archive/time_zone_binary.hindex 266c23537c..d0e1a4acde 100644--- a/src/core/file_sys/system_archive/time_zone_binary.h+++ b/src/core/file_sys/system_archive/time_zone_binary.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs.cpp b/src/core/file_sys/vfs.cppindex f5ad10b15f..0f6618b31a 100644--- a/src/core/file_sys/vfs.cpp+++ b/src/core/file_sys/vfs.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <numeric>diff --git a/src/core/file_sys/vfs.h b/src/core/file_sys/vfs.hindex 1b93658531..8fc1738a42 100644--- a/src/core/file_sys/vfs.h+++ b/src/core/file_sys/vfs.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs_concat.cpp b/src/core/file_sys/vfs_concat.cppindex 5f8c09124f..d23623aa04 100644--- a/src/core/file_sys/vfs_concat.cpp+++ b/src/core/file_sys/vfs_concat.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <utility>diff --git a/src/core/file_sys/vfs_concat.h b/src/core/file_sys/vfs_concat.hindex bd091451e7..9be0261b6d 100644--- a/src/core/file_sys/vfs_concat.h+++ b/src/core/file_sys/vfs_concat.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs_layered.cpp b/src/core/file_sys/vfs_layered.cppindex e093c4db2f..da05dd3958 100644--- a/src/core/file_sys/vfs_layered.cpp+++ b/src/core/file_sys/vfs_layered.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <utility>diff --git a/src/core/file_sys/vfs_layered.h b/src/core/file_sys/vfs_layered.hindex cd6baf28cc..a62112e9d3 100644--- a/src/core/file_sys/vfs_layered.h+++ b/src/core/file_sys/vfs_layered.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs_offset.cpp b/src/core/file_sys/vfs_offset.cppindex 870ed1cf82..d950a66333 100644--- a/src/core/file_sys/vfs_offset.cpp+++ b/src/core/file_sys/vfs_offset.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <utility>diff --git a/src/core/file_sys/vfs_offset.h b/src/core/file_sys/vfs_offset.hindex 7ce1eb3364..6c051ca00d 100644--- a/src/core/file_sys/vfs_offset.h+++ b/src/core/file_sys/vfs_offset.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs_real.cpp b/src/core/file_sys/vfs_real.cppindex f4073b76ab..e42d7c9f6e 100644--- a/src/core/file_sys/vfs_real.cpp+++ b/src/core/file_sys/vfs_real.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstddef>diff --git a/src/core/file_sys/vfs_real.h b/src/core/file_sys/vfs_real.hindex 746e624cbf..acde1ac895 100644--- a/src/core/file_sys/vfs_real.h+++ b/src/core/file_sys/vfs_real.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs_static.h b/src/core/file_sys/vfs_static.hindex f5b66cf712..ca3f989ef8 100644--- a/src/core/file_sys/vfs_static.h+++ b/src/core/file_sys/vfs_static.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs_types.h b/src/core/file_sys/vfs_types.hindex ed07247178..4a583ed642 100644--- a/src/core/file_sys/vfs_types.h+++ b/src/core/file_sys/vfs_types.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/vfs_vector.cpp b/src/core/file_sys/vfs_vector.cppindex f64b886394..251d9d7c9f 100644--- a/src/core/file_sys/vfs_vector.cpp+++ b/src/core/file_sys/vfs_vector.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <utility>diff --git a/src/core/file_sys/vfs_vector.h b/src/core/file_sys/vfs_vector.hindex 73f180070b..bfedb6e42a 100644--- a/src/core/file_sys/vfs_vector.h+++ b/src/core/file_sys/vfs_vector.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/file_sys/xts_archive.cpp b/src/core/file_sys/xts_archive.cppindex d6fe1af47e..ede0aa11a5 100644--- a/src/core/file_sys/xts_archive.cpp+++ b/src/core/file_sys/xts_archive.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/file_sys/xts_archive.h b/src/core/file_sys/xts_archive.hindex 63a032b68e..abbe5f7166 100644--- a/src/core/file_sys/xts_archive.h+++ b/src/core/file_sys/xts_archive.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/applets/controller.cpp b/src/core/frontend/applets/controller.cppindex e1033b6345..0ff2a338e7 100644--- a/src/core/frontend/applets/controller.cpp+++ b/src/core/frontend/applets/controller.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/frontend/applets/controller.h b/src/core/frontend/applets/controller.hindex 014bc89011..1d2850ad5c 100644--- a/src/core/frontend/applets/controller.h+++ b/src/core/frontend/applets/controller.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/applets/error.cpp b/src/core/frontend/applets/error.cppindex dceb20ff87..f2ec4b10e3 100644--- a/src/core/frontend/applets/error.cpp+++ b/src/core/frontend/applets/error.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/frontend/applets/error.h"diff --git a/src/core/frontend/applets/error.h b/src/core/frontend/applets/error.hindex 699df940d5..8a11345613 100644--- a/src/core/frontend/applets/error.h+++ b/src/core/frontend/applets/error.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/applets/general_frontend.cpp b/src/core/frontend/applets/general_frontend.cppindex 7483ffb763..29a00fb6f8 100644--- a/src/core/frontend/applets/general_frontend.cpp+++ b/src/core/frontend/applets/general_frontend.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/frontend/applets/general_frontend.h"diff --git a/src/core/frontend/applets/general_frontend.h b/src/core/frontend/applets/general_frontend.hindex 1647aa975b..cbec8b4ad0 100644--- a/src/core/frontend/applets/general_frontend.h+++ b/src/core/frontend/applets/general_frontend.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/applets/mii_edit.cpp b/src/core/frontend/applets/mii_edit.cppindex fadb5fb15f..d37b5368a7 100644--- a/src/core/frontend/applets/mii_edit.cpp+++ b/src/core/frontend/applets/mii_edit.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/frontend/applets/mii_edit.h"diff --git a/src/core/frontend/applets/mii_edit.h b/src/core/frontend/applets/mii_edit.hindex cca0e931db..58fa2039b4 100644--- a/src/core/frontend/applets/mii_edit.h+++ b/src/core/frontend/applets/mii_edit.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/applets/profile_select.cpp b/src/core/frontend/applets/profile_select.cppindex 4c58c310f8..d11fbce0a1 100644--- a/src/core/frontend/applets/profile_select.cpp+++ b/src/core/frontend/applets/profile_select.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings.h"#include "core/frontend/applets/profile_select.h"diff --git a/src/core/frontend/applets/profile_select.h b/src/core/frontend/applets/profile_select.hindex 3506b98850..8d6ee52794 100644--- a/src/core/frontend/applets/profile_select.h+++ b/src/core/frontend/applets/profile_select.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/applets/software_keyboard.cpp b/src/core/frontend/applets/software_keyboard.cppindex c4863ee73f..020c7fa5ef 100644--- a/src/core/frontend/applets/software_keyboard.cpp+++ b/src/core/frontend/applets/software_keyboard.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <thread>diff --git a/src/core/frontend/applets/software_keyboard.h b/src/core/frontend/applets/software_keyboard.hindex 490c55cc2a..a405e3c94f 100644--- a/src/core/frontend/applets/software_keyboard.h+++ b/src/core/frontend/applets/software_keyboard.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/applets/web_browser.cpp b/src/core/frontend/applets/web_browser.cppindex be4736f473..27c7086be1 100644--- a/src/core/frontend/applets/web_browser.cpp+++ b/src/core/frontend/applets/web_browser.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/frontend/applets/web_browser.h"diff --git a/src/core/frontend/applets/web_browser.h b/src/core/frontend/applets/web_browser.hindex b6a60c994f..1411274f88 100644--- a/src/core/frontend/applets/web_browser.h+++ b/src/core/frontend/applets/web_browser.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/frontend/framebuffer_layout.cpp b/src/core/frontend/framebuffer_layout.cppindex 26a5b12aa6..90dd68ff15 100644--- a/src/core/frontend/framebuffer_layout.cpp+++ b/src/core/frontend/framebuffer_layout.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cmath>diff --git a/src/core/frontend/framebuffer_layout.h b/src/core/frontend/framebuffer_layout.hindex 8e341e4e28..1561d994ef 100644--- a/src/core/frontend/framebuffer_layout.h+++ b/src/core/frontend/framebuffer_layout.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hardware_interrupt_manager.cpp b/src/core/hardware_interrupt_manager.cppindex 290db505ee..d2d968a766 100644--- a/src/core/hardware_interrupt_manager.cpp+++ b/src/core/hardware_interrupt_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2019 Yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/core_timing.h"diff --git a/src/core/hardware_interrupt_manager.h b/src/core/hardware_interrupt_manager.hindex 5fa306ae0a..5665c59186 100644--- a/src/core/hardware_interrupt_manager.h+++ b/src/core/hardware_interrupt_manager.h@@ -1,6 +1,5 @@-// Copyright 2019 Yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hardware_properties.h b/src/core/hardware_properties.hindex 176a72c67f..aac362c51e 100644--- a/src/core/hardware_properties.h+++ b/src/core/hardware_properties.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/emulated_console.cpp b/src/core/hid/emulated_console.cppindex de565048ba..fd220ccb56 100644--- a/src/core/hid/emulated_console.cpp+++ b/src/core/hid/emulated_console.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings.h"#include "core/hid/emulated_console.h"diff --git a/src/core/hid/emulated_console.h b/src/core/hid/emulated_console.hindex 53677bdc53..1c510cd19d 100644--- a/src/core/hid/emulated_console.h+++ b/src/core/hid/emulated_console.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/emulated_controller.cpp b/src/core/hid/emulated_controller.cppindex c3f21066c2..ba1dcd171e 100644--- a/src/core/hid/emulated_controller.cpp+++ b/src/core/hid/emulated_controller.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hid/emulated_controller.h"#include "core/hid/input_converter.h"diff --git a/src/core/hid/emulated_controller.h b/src/core/hid/emulated_controller.hindex 1e224685d5..3f02ed3c07 100644--- a/src/core/hid/emulated_controller.h+++ b/src/core/hid/emulated_controller.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/emulated_devices.cpp b/src/core/hid/emulated_devices.cppindex 2f84d2b528..8d367b5469 100644--- a/src/core/hid/emulated_devices.cpp+++ b/src/core/hid/emulated_devices.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <fmt/format.h>diff --git a/src/core/hid/emulated_devices.h b/src/core/hid/emulated_devices.hindex fb6451e7a7..4149eecedd 100644--- a/src/core/hid/emulated_devices.h+++ b/src/core/hid/emulated_devices.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/hid_core.cpp b/src/core/hid/hid_core.cppindex a1c3bbb579..7eed52593f 100644--- a/src/core/hid/hid_core.cpp+++ b/src/core/hid/hid_core.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "core/hid/emulated_console.h"diff --git a/src/core/hid/hid_core.h b/src/core/hid/hid_core.hindex 717f605e7b..5fe36551ea 100644--- a/src/core/hid/hid_core.h+++ b/src/core/hid/hid_core.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/hid_types.h b/src/core/hid/hid_types.hindex 422a9af330..df2b1dfc54 100644--- a/src/core/hid/hid_types.h+++ b/src/core/hid/hid_types.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/input_converter.cpp b/src/core/hid/input_converter.cppindex cd41607a7e..ee228e39bb 100644--- a/src/core/hid/input_converter.cpp+++ b/src/core/hid/input_converter.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <random>diff --git a/src/core/hid/input_converter.h b/src/core/hid/input_converter.hindex d245822265..2be36889fd 100644--- a/src/core/hid/input_converter.h+++ b/src/core/hid/input_converter.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/input_interpreter.cpp b/src/core/hid/input_interpreter.cppindex 2dbda8814a..76d6b8ab02 100644--- a/src/core/hid/input_interpreter.cpp+++ b/src/core/hid/input_interpreter.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/hid/hid_types.h"diff --git a/src/core/hid/input_interpreter.h b/src/core/hid/input_interpreter.hindex 70c34d4746..8c521b3818 100644--- a/src/core/hid/input_interpreter.h+++ b/src/core/hid/input_interpreter.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hid/motion_input.cpp b/src/core/hid/motion_input.cppindex 05042fd991..b1f658e62b 100644--- a/src/core/hid/motion_input.cpp+++ b/src/core/hid/motion_input.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/math_util.h"#include "core/hid/motion_input.h"diff --git a/src/core/hid/motion_input.h b/src/core/hid/motion_input.hindex bca4520fa3..f5fd90db50 100644--- a/src/core/hid/motion_input.h+++ b/src/core/hid/motion_input.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/api_version.h b/src/core/hle/api_version.hindex 626e307530..bd15606e13 100644--- a/src/core/hle/api_version.h+++ b/src/core/hle/api_version.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/arch/arm64/k_memory_region_device_types.inc b/src/core/hle/kernel/arch/arm64/k_memory_region_device_types.incindex 857b512ba8..2a0f2d5f7e 100644--- a/src/core/hle/kernel/arch/arm64/k_memory_region_device_types.inc+++ b/src/core/hle/kernel/arch/arm64/k_memory_region_device_types.inc@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// All architectures must define NumArchitectureDeviceRegions.constexpr inline const auto NumArchitectureDeviceRegions = 3;diff --git a/src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h b/src/core/hle/kernel/board/nintendo/nx/k_memory_layout.hindex 01e225088d..d02ee61c39 100644--- a/src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h+++ b/src/core/hle/kernel/board/nintendo/nx/k_memory_layout.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/board/nintendo/nx/k_memory_region_device_types.inc b/src/core/hle/kernel/board/nintendo/nx/k_memory_region_device_types.incindex 58d6c0b168..5f5ec6d5bb 100644--- a/src/core/hle/kernel/board/nintendo/nx/k_memory_region_device_types.inc+++ b/src/core/hle/kernel/board/nintendo/nx/k_memory_region_device_types.inc@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// All architectures must define NumBoardDeviceRegions.constexpr inline const auto NumBoardDeviceRegions = 6;diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cppindex 7765e78483..c10b7bf302 100644--- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp+++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <random>diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.h b/src/core/hle/kernel/board/nintendo/nx/k_system_control.hindex df2a17f2a2..fe375769ee 100644--- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.h+++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/board/nintendo/nx/secure_monitor.h b/src/core/hle/kernel/board/nintendo/nx/secure_monitor.hindex f77a91dec1..b0e4123f08 100644--- a/src/core/hle/kernel/board/nintendo/nx/secure_monitor.h+++ b/src/core/hle/kernel/board/nintendo/nx/secure_monitor.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/code_set.cpp b/src/core/hle/kernel/code_set.cppindex 1f434e9af4..41386048b6 100644--- a/src/core/hle/kernel/code_set.cpp+++ b/src/core/hle/kernel/code_set.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/code_set.h"diff --git a/src/core/hle/kernel/code_set.h b/src/core/hle/kernel/code_set.hindex 5cc3b98290..5220dbcb6a 100644--- a/src/core/hle/kernel/code_set.h+++ b/src/core/hle/kernel/code_set.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/global_scheduler_context.cpp b/src/core/hle/kernel/global_scheduler_context.cppindex baad2c5d67..164436b261 100644--- a/src/core/hle/kernel/global_scheduler_context.cpp+++ b/src/core/hle/kernel/global_scheduler_context.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <mutex>diff --git a/src/core/hle/kernel/global_scheduler_context.h b/src/core/hle/kernel/global_scheduler_context.hindex 47425a3a11..67bb9852da 100644--- a/src/core/hle/kernel/global_scheduler_context.h+++ b/src/core/hle/kernel/global_scheduler_context.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/hle_ipc.cpp b/src/core/hle/kernel/hle_ipc.cppindex 5828ac9230..4650d25b08 100644--- a/src/core/hle/kernel/hle_ipc.cpp+++ b/src/core/hle/kernel/hle_ipc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.hindex 640146137b..a427cbc937 100644--- a/src/core/hle/kernel/hle_ipc.h+++ b/src/core/hle/kernel/hle_ipc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/init/init_slab_setup.cpp b/src/core/hle/kernel/init/init_slab_setup.cppindex b0f773ee09..34a8be052a 100644--- a/src/core/hle/kernel/init/init_slab_setup.cpp+++ b/src/core/hle/kernel/init/init_slab_setup.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/alignment.h"#include "common/assert.h"diff --git a/src/core/hle/kernel/init/init_slab_setup.h b/src/core/hle/kernel/init/init_slab_setup.hindex f54b67d021..13be63c87d 100644--- a/src/core/hle/kernel/init/init_slab_setup.h+++ b/src/core/hle/kernel/init/init_slab_setup.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/initial_process.h b/src/core/hle/kernel/initial_process.hindex 25b27909cf..af0fb23b62 100644--- a/src/core/hle/kernel/initial_process.h+++ b/src/core/hle/kernel/initial_process.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_address_arbiter.cpp b/src/core/hle/kernel/k_address_arbiter.cppindex 8cdd0490fd..04cf86d521 100644--- a/src/core/hle/kernel/k_address_arbiter.cpp+++ b/src/core/hle/kernel/k_address_arbiter.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/arm/exclusive_monitor.h"#include "core/core.h"diff --git a/src/core/hle/kernel/k_address_arbiter.h b/src/core/hle/kernel/k_address_arbiter.hindex bf8b46665b..e46e0d8483 100644--- a/src/core/hle/kernel/k_address_arbiter.h+++ b/src/core/hle/kernel/k_address_arbiter.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_address_space_info.cpp b/src/core/hle/kernel/k_address_space_info.cppindex ca29edc885..bc37cadda4 100644--- a/src/core/hle/kernel/k_address_space_info.cpp+++ b/src/core/hle/kernel/k_address_space_info.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>diff --git a/src/core/hle/kernel/k_address_space_info.h b/src/core/hle/kernel/k_address_space_info.hindex 06f31c6d58..69e9d77f2b 100644--- a/src/core/hle/kernel/k_address_space_info.h+++ b/src/core/hle/kernel/k_address_space_info.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_affinity_mask.h b/src/core/hle/kernel/k_affinity_mask.hindex cf704ce87e..b58716e90e 100644--- a/src/core/hle/kernel/k_affinity_mask.h+++ b/src/core/hle/kernel/k_affinity_mask.h@@ -1,9 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.--// This file references various implementation details from Atmosphere, an open-source firmware for-// the Nintendo Switch. Copyright 2018-2020 Atmosphere-NX.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_auto_object.cpp b/src/core/hle/kernel/k_auto_object.cppindex c99a9ebb72..691af8ccb3 100644--- a/src/core/hle/kernel/k_auto_object.cpp+++ b/src/core/hle/kernel/k_auto_object.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_auto_object.h"#include "core/hle/kernel/kernel.h"diff --git a/src/core/hle/kernel/k_auto_object.h b/src/core/hle/kernel/k_auto_object.hindex 423e8d8f5d..ea47fc600c 100644--- a/src/core/hle/kernel/k_auto_object.h+++ b/src/core/hle/kernel/k_auto_object.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_auto_object_container.cpp b/src/core/hle/kernel/k_auto_object_container.cppindex d5f80d5b26..636b3f9936 100644--- a/src/core/hle/kernel/k_auto_object_container.cpp+++ b/src/core/hle/kernel/k_auto_object_container.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/core/hle/kernel/k_auto_object_container.h b/src/core/hle/kernel/k_auto_object_container.hindex 697cc4289c..badd75d2a0 100644--- a/src/core/hle/kernel/k_auto_object_container.h+++ b/src/core/hle/kernel/k_auto_object_container.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_class_token.cpp b/src/core/hle/kernel/k_class_token.cppindex 21e2fe494f..cc2a0f7cae 100644--- a/src/core/hle/kernel/k_class_token.cpp+++ b/src/core/hle/kernel/k_class_token.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_auto_object.h"#include "core/hle/kernel/k_class_token.h"diff --git a/src/core/hle/kernel/k_class_token.h b/src/core/hle/kernel/k_class_token.hindex 93fc8786da..be9e3c3578 100644--- a/src/core/hle/kernel/k_class_token.h+++ b/src/core/hle/kernel/k_class_token.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_client_session.cpp b/src/core/hle/kernel/k_client_session.cppindex 242582f8f5..731af079c0 100644--- a/src/core/hle/kernel/k_client_session.cpp+++ b/src/core/hle/kernel/k_client_session.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/hle_ipc.h"#include "core/hle/kernel/k_client_session.h"diff --git a/src/core/hle/kernel/k_client_session.h b/src/core/hle/kernel/k_client_session.hindex ad6cc4ed1c..7a7ec8450a 100644--- a/src/core/hle/kernel/k_client_session.h+++ b/src/core/hle/kernel/k_client_session.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_code_memory.cpp b/src/core/hle/kernel/k_code_memory.cppindex 09eaf004c0..fd3cbfd948 100644--- a/src/core/hle/kernel/k_code_memory.cpp+++ b/src/core/hle/kernel/k_code_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/alignment.h"#include "common/common_types.h"diff --git a/src/core/hle/kernel/k_code_memory.h b/src/core/hle/kernel/k_code_memory.hindex e0ba19a53d..ab06b6f29d 100644--- a/src/core/hle/kernel/k_code_memory.h+++ b/src/core/hle/kernel/k_code_memory.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_condition_variable.cpp b/src/core/hle/kernel/k_condition_variable.cppindex aa29922d02..43bcd253da 100644--- a/src/core/hle/kernel/k_condition_variable.cpp+++ b/src/core/hle/kernel/k_condition_variable.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/arm/exclusive_monitor.h"#include "core/core.h"diff --git a/src/core/hle/kernel/k_condition_variable.h b/src/core/hle/kernel/k_condition_variable.hindex 5e4815d08d..7bc749d985 100644--- a/src/core/hle/kernel/k_condition_variable.h+++ b/src/core/hle/kernel/k_condition_variable.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_event.cpp b/src/core/hle/kernel/k_event.cppindex 2e0e8de808..e52fafbc7c 100644--- a/src/core/hle/kernel/k_event.cpp+++ b/src/core/hle/kernel/k_event.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_event.h"#include "core/hle/kernel/k_process.h"diff --git a/src/core/hle/kernel/k_event.h b/src/core/hle/kernel/k_event.hindex de9732ddf4..2ff828feb3 100644--- a/src/core/hle/kernel/k_event.h+++ b/src/core/hle/kernel/k_event.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_handle_table.cpp b/src/core/hle/kernel/k_handle_table.cppindex db7512ee72..c453927adb 100644--- a/src/core/hle/kernel/k_handle_table.cpp+++ b/src/core/hle/kernel/k_handle_table.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_handle_table.h"diff --git a/src/core/hle/kernel/k_handle_table.h b/src/core/hle/kernel/k_handle_table.hindex dd27689b60..befdb2ec92 100644--- a/src/core/hle/kernel/k_handle_table.h+++ b/src/core/hle/kernel/k_handle_table.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_interrupt_manager.cpp b/src/core/hle/kernel/k_interrupt_manager.cppindex e5dd39751a..cf9ed80d00 100644--- a/src/core/hle/kernel/k_interrupt_manager.cpp+++ b/src/core/hle/kernel/k_interrupt_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_interrupt_manager.h"#include "core/hle/kernel/k_process.h"diff --git a/src/core/hle/kernel/k_interrupt_manager.h b/src/core/hle/kernel/k_interrupt_manager.hindex 05924801e1..f103dfe3f1 100644--- a/src/core/hle/kernel/k_interrupt_manager.h+++ b/src/core/hle/kernel/k_interrupt_manager.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_light_condition_variable.cpp b/src/core/hle/kernel/k_light_condition_variable.cppindex a8001fffc7..a40f35f45c 100644--- a/src/core/hle/kernel/k_light_condition_variable.cpp+++ b/src/core/hle/kernel/k_light_condition_variable.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_light_condition_variable.h"#include "core/hle/kernel/k_scheduler.h"diff --git a/src/core/hle/kernel/k_light_condition_variable.h b/src/core/hle/kernel/k_light_condition_variable.hindex 5d6d7f1283..3cabd6b4f0 100644--- a/src/core/hle/kernel/k_light_condition_variable.h+++ b/src/core/hle/kernel/k_light_condition_variable.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_light_lock.cpp b/src/core/hle/kernel/k_light_lock.cppindex 4620342eb0..0225734b45 100644--- a/src/core/hle/kernel/k_light_lock.cpp+++ b/src/core/hle/kernel/k_light_lock.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_light_lock.h"#include "core/hle/kernel/k_scheduler.h"diff --git a/src/core/hle/kernel/k_light_lock.h b/src/core/hle/kernel/k_light_lock.hindex 4163b8a854..7edd950c05 100644--- a/src/core/hle/kernel/k_light_lock.h+++ b/src/core/hle/kernel/k_light_lock.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_linked_list.h b/src/core/hle/kernel/k_linked_list.hindex 6adfe1e349..78859ced30 100644--- a/src/core/hle/kernel/k_linked_list.h+++ b/src/core/hle/kernel/k_linked_list.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_memory_block.h b/src/core/hle/kernel/k_memory_block.hindex dcca47f1b7..18df1f836a 100644--- a/src/core/hle/kernel/k_memory_block.h+++ b/src/core/hle/kernel/k_memory_block.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_memory_block_manager.cpp b/src/core/hle/kernel/k_memory_block_manager.cppindex fc70335646..3ddb9984fa 100644--- a/src/core/hle/kernel/k_memory_block_manager.cpp+++ b/src/core/hle/kernel/k_memory_block_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_memory_block_manager.h"#include "core/hle/kernel/memory_types.h"diff --git a/src/core/hle/kernel/k_memory_block_manager.h b/src/core/hle/kernel/k_memory_block_manager.hindex d222da919e..e14741b898 100644--- a/src/core/hle/kernel/k_memory_block_manager.h+++ b/src/core/hle/kernel/k_memory_block_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_memory_layout.board.nintendo_nx.cpp b/src/core/hle/kernel/k_memory_layout.board.nintendo_nx.cppindex af652af58a..098ba6eace 100644--- a/src/core/hle/kernel/k_memory_layout.board.nintendo_nx.cpp+++ b/src/core/hle/kernel/k_memory_layout.board.nintendo_nx.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/alignment.h"#include "common/literals.h"diff --git a/src/core/hle/kernel/k_memory_layout.cpp b/src/core/hle/kernel/k_memory_layout.cppindex fb1e2435fe..55dc296d0f 100644--- a/src/core/hle/kernel/k_memory_layout.cpp+++ b/src/core/hle/kernel/k_memory_layout.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>diff --git a/src/core/hle/kernel/k_memory_layout.h b/src/core/hle/kernel/k_memory_layout.hindex 0858827b63..884fc623a0 100644--- a/src/core/hle/kernel/k_memory_layout.h+++ b/src/core/hle/kernel/k_memory_layout.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_memory_manager.cpp b/src/core/hle/kernel/k_memory_manager.cppindex 17a1b76c7f..a55db30884 100644--- a/src/core/hle/kernel/k_memory_manager.cpp+++ b/src/core/hle/kernel/k_memory_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/core/hle/kernel/k_memory_manager.h b/src/core/hle/kernel/k_memory_manager.hindex 18775b2624..c7923cb820 100644--- a/src/core/hle/kernel/k_memory_manager.h+++ b/src/core/hle/kernel/k_memory_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_memory_region.h b/src/core/hle/kernel/k_memory_region.hindex e9bdf4e595..5037e657f4 100644--- a/src/core/hle/kernel/k_memory_region.h+++ b/src/core/hle/kernel/k_memory_region.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_memory_region_type.h b/src/core/hle/kernel/k_memory_region_type.hindex 0baeddf518..7e2fcccdc7 100644--- a/src/core/hle/kernel/k_memory_region_type.h+++ b/src/core/hle/kernel/k_memory_region_type.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_page_bitmap.h b/src/core/hle/kernel/k_page_bitmap.hindex c75d667c93..c97b3dc0b1 100644--- a/src/core/hle/kernel/k_page_bitmap.h+++ b/src/core/hle/kernel/k_page_bitmap.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_page_buffer.cpp b/src/core/hle/kernel/k_page_buffer.cppindex f7df4a9a89..1a0bf44393 100644--- a/src/core/hle/kernel/k_page_buffer.cpp+++ b/src/core/hle/kernel/k_page_buffer.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/alignment.h"#include "common/assert.h"diff --git a/src/core/hle/kernel/k_page_buffer.h b/src/core/hle/kernel/k_page_buffer.hindex 1d11a4e273..7e50dc1d18 100644--- a/src/core/hle/kernel/k_page_buffer.h+++ b/src/core/hle/kernel/k_page_buffer.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_page_heap.cpp b/src/core/hle/kernel/k_page_heap.cppindex 97a5890a0c..5ede601686 100644--- a/src/core/hle/kernel/k_page_heap.cpp+++ b/src/core/hle/kernel/k_page_heap.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/hle/kernel/k_page_heap.h"diff --git a/src/core/hle/kernel/k_page_heap.h b/src/core/hle/kernel/k_page_heap.hindex 60fff766b8..0917a8bed9 100644--- a/src/core/hle/kernel/k_page_heap.h+++ b/src/core/hle/kernel/k_page_heap.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_page_linked_list.h b/src/core/hle/kernel/k_page_linked_list.hindex 8692283223..1f79c83305 100644--- a/src/core/hle/kernel/k_page_linked_list.h+++ b/src/core/hle/kernel/k_page_linked_list.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_page_table.cpp b/src/core/hle/kernel/k_page_table.cppindex 47ea3c89cd..b38ef333b7 100644--- a/src/core/hle/kernel/k_page_table.cpp+++ b/src/core/hle/kernel/k_page_table.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/alignment.h"#include "common/assert.h"diff --git a/src/core/hle/kernel/k_page_table.h b/src/core/hle/kernel/k_page_table.hindex dd60229756..52a93ce869 100644--- a/src/core/hle/kernel/k_page_table.h+++ b/src/core/hle/kernel/k_page_table.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_port.cpp b/src/core/hle/kernel/k_port.cppindex ceb98709f9..a31861cdb6 100644--- a/src/core/hle/kernel/k_port.cpp+++ b/src/core/hle/kernel/k_port.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/hle_ipc.h"#include "core/hle/kernel/k_port.h"diff --git a/src/core/hle/kernel/k_port.h b/src/core/hle/kernel/k_port.hindex b6e4a1fcd7..1bfecf8c3f 100644--- a/src/core/hle/kernel/k_port.h+++ b/src/core/hle/kernel/k_port.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_priority_queue.h b/src/core/hle/kernel/k_priority_queue.hindex bd779739d1..cb2512b0b0 100644--- a/src/core/hle/kernel/k_priority_queue.h+++ b/src/core/hle/kernel/k_priority_queue.h@@ -1,9 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.--// This file references various implementation details from Atmosphere, an open-source firmware for-// the Nintendo Switch. Copyright 2018-2020 Atmosphere-NX.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_readable_event.cpp b/src/core/hle/kernel/k_readable_event.cppindex bf1db10d4c..dddba554d8 100644--- a/src/core/hle/kernel/k_readable_event.cpp+++ b/src/core/hle/kernel/k_readable_event.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "core/hle/kernel/k_event.h"diff --git a/src/core/hle/kernel/k_readable_event.h b/src/core/hle/kernel/k_readable_event.hindex 149fa78dda..5065c7cc08 100644--- a/src/core/hle/kernel/k_readable_event.h+++ b/src/core/hle/kernel/k_readable_event.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_resource_limit.cpp b/src/core/hle/kernel/k_resource_limit.cppindex a84977c685..3e0ecffdbd 100644--- a/src/core/hle/kernel/k_resource_limit.cpp+++ b/src/core/hle/kernel/k_resource_limit.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "core/core.h"diff --git a/src/core/hle/kernel/k_resource_limit.h b/src/core/hle/kernel/k_resource_limit.hindex d23d16aa4f..43bf74b8da 100644--- a/src/core/hle/kernel/k_resource_limit.h+++ b/src/core/hle/kernel/k_resource_limit.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_scheduler.cpp b/src/core/hle/kernel/k_scheduler.cppindex 526eb4b700..2d4e8637b3 100644--- a/src/core/hle/kernel/k_scheduler.cpp+++ b/src/core/hle/kernel/k_scheduler.cpp@@ -1,9 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.--// This file references various implementation details from Atmosphere, an open-source firmware for-// the Nintendo Switch. Copyright 2018-2020 Atmosphere-NX.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <bit>diff --git a/src/core/hle/kernel/k_scheduler.h b/src/core/hle/kernel/k_scheduler.hindex 82fcd99e7b..729e006f28 100644--- a/src/core/hle/kernel/k_scheduler.h+++ b/src/core/hle/kernel/k_scheduler.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_scheduler_lock.h b/src/core/hle/kernel/k_scheduler_lock.hindex 016e0a8188..4fa2569701 100644--- a/src/core/hle/kernel/k_scheduler_lock.h+++ b/src/core/hle/kernel/k_scheduler_lock.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_scoped_lock.h b/src/core/hle/kernel/k_scoped_lock.hindex 89a7ffe49d..857e211565 100644--- a/src/core/hle/kernel/k_scoped_lock.h+++ b/src/core/hle/kernel/k_scoped_lock.h@@ -1,9 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.--// This file references various implementation details from Atmosphere, an open-source firmware for-// the Nintendo Switch. Copyright 2018-2020 Atmosphere-NX.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_scoped_resource_reservation.h b/src/core/hle/kernel/k_scoped_resource_reservation.hindex 07272075d9..436bcf9fee 100644--- a/src/core/hle/kernel/k_scoped_resource_reservation.h+++ b/src/core/hle/kernel/k_scoped_resource_reservation.h@@ -1,9 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.--// This file references various implementation details from Atmosphere, an open-source firmware for-// the Nintendo Switch. Copyright 2018-2020 Atmosphere-NX.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.hindex 2995c492d1..76c095e69b 100644--- a/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h+++ b/src/core/hle/kernel/k_scoped_scheduler_lock_and_sleep.h@@ -1,9 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.--// This file references various implementation details from Atmosphere, an open-source firmware for-// the Nintendo Switch. Copyright 2018-2020 Atmosphere-NX.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_server_port.cpp b/src/core/hle/kernel/k_server_port.cppindex e66c0c9920..e968f26ad4 100644--- a/src/core/hle/kernel/k_server_port.cpp+++ b/src/core/hle/kernel/k_server_port.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <tuple>#include "common/assert.h"diff --git a/src/core/hle/kernel/k_server_port.h b/src/core/hle/kernel/k_server_port.hindex 2185736be9..fd4f4bd20e 100644--- a/src/core/hle/kernel/k_server_port.h+++ b/src/core/hle/kernel/k_server_port.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_server_session.cpp b/src/core/hle/kernel/k_server_session.cppindex 7ac2ef2547..7e39f6d504 100644--- a/src/core/hle/kernel/k_server_session.cpp+++ b/src/core/hle/kernel/k_server_session.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <tuple>#include <utility>diff --git a/src/core/hle/kernel/k_server_session.h b/src/core/hle/kernel/k_server_session.hindex 5b76bf17c2..b628a843fe 100644--- a/src/core/hle/kernel/k_server_session.h+++ b/src/core/hle/kernel/k_server_session.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_session.cpp b/src/core/hle/kernel/k_session.cppindex a64b56b9e9..ee05aa2825 100644--- a/src/core/hle/kernel/k_session.cpp+++ b/src/core/hle/kernel/k_session.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_client_port.h"#include "core/hle/kernel/k_client_session.h"diff --git a/src/core/hle/kernel/k_session.h b/src/core/hle/kernel/k_session.hindex 62c328a685..c6ead403b6 100644--- a/src/core/hle/kernel/k_session.h+++ b/src/core/hle/kernel/k_session.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_shared_memory_info.h b/src/core/hle/kernel/k_shared_memory_info.hindex 20bc19f46d..e43db8515b 100644--- a/src/core/hle/kernel/k_shared_memory_info.h+++ b/src/core/hle/kernel/k_shared_memory_info.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_slab_heap.h b/src/core/hle/kernel/k_slab_heap.hindex 5690cc757a..2b303537e6 100644--- a/src/core/hle/kernel/k_slab_heap.h+++ b/src/core/hle/kernel/k_slab_heap.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_spin_lock.cpp b/src/core/hle/kernel/k_spin_lock.cppindex 527ff0f9fe..6e16a18495 100644--- a/src/core/hle/kernel/k_spin_lock.cpp+++ b/src/core/hle/kernel/k_spin_lock.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_spin_lock.h"diff --git a/src/core/hle/kernel/k_spin_lock.h b/src/core/hle/kernel/k_spin_lock.hindex 7868b25a54..397a93d216 100644--- a/src/core/hle/kernel/k_spin_lock.h+++ b/src/core/hle/kernel/k_spin_lock.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_synchronization_object.cpp b/src/core/hle/kernel/k_synchronization_object.cppindex e4c5eb74f0..8554144d5f 100644--- a/src/core/hle/kernel/k_synchronization_object.cpp+++ b/src/core/hle/kernel/k_synchronization_object.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/common_types.h"diff --git a/src/core/hle/kernel/k_synchronization_object.h b/src/core/hle/kernel/k_synchronization_object.hindex ec235437b5..d7540d6c7e 100644--- a/src/core/hle/kernel/k_synchronization_object.h+++ b/src/core/hle/kernel/k_synchronization_object.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_system_control.h b/src/core/hle/kernel/k_system_control.hindex d755082c24..b8292e9d0d 100644--- a/src/core/hle/kernel/k_system_control.h+++ b/src/core/hle/kernel/k_system_control.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_thread.cpp b/src/core/hle/kernel/k_thread.cppindex af71987e88..ab9ce6a861 100644--- a/src/core/hle/kernel/k_thread.cpp+++ b/src/core/hle/kernel/k_thread.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <atomic>diff --git a/src/core/hle/kernel/k_thread.h b/src/core/hle/kernel/k_thread.hindex 4892fdf76e..b55a922abd 100644--- a/src/core/hle/kernel/k_thread.h+++ b/src/core/hle/kernel/k_thread.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_thread_local_page.cpp b/src/core/hle/kernel/k_thread_local_page.cppindex 3fb277eba0..fbdc40b3a5 100644--- a/src/core/hle/kernel/k_thread_local_page.cpp+++ b/src/core/hle/kernel/k_thread_local_page.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/scope_exit.h"#include "core/core.h"diff --git a/src/core/hle/kernel/k_thread_local_page.h b/src/core/hle/kernel/k_thread_local_page.hindex 74b565a71c..a4fe43ee5e 100644--- a/src/core/hle/kernel/k_thread_local_page.h+++ b/src/core/hle/kernel/k_thread_local_page.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_thread_queue.cpp b/src/core/hle/kernel/k_thread_queue.cppindex d5248b5471..1c338904af 100644--- a/src/core/hle/kernel/k_thread_queue.cpp+++ b/src/core/hle/kernel/k_thread_queue.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_thread_queue.h"#include "core/hle/kernel/kernel.h"diff --git a/src/core/hle/kernel/k_thread_queue.h b/src/core/hle/kernel/k_thread_queue.hindex ccb718e497..4a7dbdd473 100644--- a/src/core/hle/kernel/k_thread_queue.h+++ b/src/core/hle/kernel/k_thread_queue.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_trace.h b/src/core/hle/kernel/k_trace.hindex d3fed1888e..d61af48303 100644--- a/src/core/hle/kernel/k_trace.h+++ b/src/core/hle/kernel/k_trace.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_transfer_memory.cpp b/src/core/hle/kernel/k_transfer_memory.cppindex 1732925c9c..1ed4b0f6fb 100644--- a/src/core/hle/kernel/k_transfer_memory.cpp+++ b/src/core/hle/kernel/k_transfer_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_process.h"#include "core/hle/kernel/k_resource_limit.h"diff --git a/src/core/hle/kernel/k_transfer_memory.h b/src/core/hle/kernel/k_transfer_memory.hindex cb75218237..9ad80ba303 100644--- a/src/core/hle/kernel/k_transfer_memory.h+++ b/src/core/hle/kernel/k_transfer_memory.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_worker_task.h b/src/core/hle/kernel/k_worker_task.hindex b7794c6a84..ef591d8319 100644--- a/src/core/hle/kernel/k_worker_task.h+++ b/src/core/hle/kernel/k_worker_task.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_worker_task_manager.cpp b/src/core/hle/kernel/k_worker_task_manager.cppindex 785e081110..221f341ee6 100644--- a/src/core/hle/kernel/k_worker_task_manager.cpp+++ b/src/core/hle/kernel/k_worker_task_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "core/hle/kernel/k_process.h"diff --git a/src/core/hle/kernel/k_worker_task_manager.h b/src/core/hle/kernel/k_worker_task_manager.hindex 43d1bfcec4..f6618883ee 100644--- a/src/core/hle/kernel/k_worker_task_manager.h+++ b/src/core/hle/kernel/k_worker_task_manager.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/k_writable_event.cpp b/src/core/hle/kernel/k_writable_event.cppindex bdb1db6d5e..26c8489adb 100644--- a/src/core/hle/kernel/k_writable_event.cpp+++ b/src/core/hle/kernel/k_writable_event.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_event.h"#include "core/hle/kernel/k_readable_event.h"diff --git a/src/core/hle/kernel/k_writable_event.h b/src/core/hle/kernel/k_writable_event.hindex 858d982c45..e289e80c45 100644--- a/src/core/hle/kernel/k_writable_event.h+++ b/src/core/hle/kernel/k_writable_event.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/kernel.cpp b/src/core/hle/kernel/kernel.cppindex 5984afd7e5..92f6d8c49c 100644--- a/src/core/hle/kernel/kernel.cpp+++ b/src/core/hle/kernel/kernel.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <atomic>diff --git a/src/core/hle/kernel/kernel.h b/src/core/hle/kernel/kernel.hindex 12e44b8a5c..926e14c6f2 100644--- a/src/core/hle/kernel/kernel.h+++ b/src/core/hle/kernel/kernel.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/memory_types.h b/src/core/hle/kernel/memory_types.hindex d458f0ecad..3975507bdc 100644--- a/src/core/hle/kernel/memory_types.h+++ b/src/core/hle/kernel/memory_types.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/physical_core.cpp b/src/core/hle/kernel/physical_core.cppindex cc49e8c7e4..a5b16ae2eb 100644--- a/src/core/hle/kernel/physical_core.cpp+++ b/src/core/hle/kernel/physical_core.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/arm/cpu_interrupt_handler.h"#include "core/arm/dynarmic/arm_dynarmic_32.h"diff --git a/src/core/hle/kernel/physical_core.h b/src/core/hle/kernel/physical_core.hindex f2112fc1d6..898d1e5db1 100644--- a/src/core/hle/kernel/physical_core.h+++ b/src/core/hle/kernel/physical_core.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/physical_memory.h b/src/core/hle/kernel/physical_memory.hindex 7a0266780c..253fa45636 100644--- a/src/core/hle/kernel/physical_memory.h+++ b/src/core/hle/kernel/physical_memory.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/process_capability.cpp b/src/core/hle/kernel/process_capability.cppindex 31a0867d38..54872626eb 100644--- a/src/core/hle/kernel/process_capability.cpp+++ b/src/core/hle/kernel/process_capability.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <bit>diff --git a/src/core/hle/kernel/process_capability.h b/src/core/hle/kernel/process_capability.hindex a9b44325b3..7f3a2339d1 100644--- a/src/core/hle/kernel/process_capability.h+++ b/src/core/hle/kernel/process_capability.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/service_thread.cpp b/src/core/hle/kernel/service_thread.cppindex 52d25b837b..2e87b4ea4c 100644--- a/src/core/hle/kernel/service_thread.cpp+++ b/src/core/hle/kernel/service_thread.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <condition_variable>#include <functional>diff --git a/src/core/hle/kernel/service_thread.h b/src/core/hle/kernel/service_thread.hindex 6a7fd7c56f..c5896f2bda 100644--- a/src/core/hle/kernel/service_thread.h+++ b/src/core/hle/kernel/service_thread.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/slab_helpers.h b/src/core/hle/kernel/slab_helpers.hindex dc1e48fc92..299a981a8a 100644--- a/src/core/hle/kernel/slab_helpers.h+++ b/src/core/hle/kernel/slab_helpers.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cppindex 0c86435b5c..f9c72d160a 100644--- a/src/core/hle/kernel/svc.cpp+++ b/src/core/hle/kernel/svc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cinttypes>diff --git a/src/core/hle/kernel/svc.h b/src/core/hle/kernel/svc.hindex 46e64277e6..13f061b83f 100644--- a/src/core/hle/kernel/svc.h+++ b/src/core/hle/kernel/svc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/svc_common.h b/src/core/hle/kernel/svc_common.hindex 25de6e4378..95750c3ebe 100644--- a/src/core/hle/kernel/svc_common.h+++ b/src/core/hle/kernel/svc_common.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/svc_results.h b/src/core/hle/kernel/svc_results.hindex 53a9407230..fab12d070f 100644--- a/src/core/hle/kernel/svc_results.h+++ b/src/core/hle/kernel/svc_results.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/svc_types.h b/src/core/hle/kernel/svc_types.hindex b2e9ec0923..79e15183aa 100644--- a/src/core/hle/kernel/svc_types.h+++ b/src/core/hle/kernel/svc_types.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/svc_wrap.h b/src/core/hle/kernel/svc_wrap.hindex d309f166c2..2271bb80ca 100644--- a/src/core/hle/kernel/svc_wrap.h+++ b/src/core/hle/kernel/svc_wrap.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/kernel/time_manager.cpp b/src/core/hle/kernel/time_manager.cppindex 5b8fe8eae1..2724c3782a 100644--- a/src/core/hle/kernel/time_manager.cpp+++ b/src/core/hle/kernel/time_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "core/core.h"diff --git a/src/core/hle/kernel/time_manager.h b/src/core/hle/kernel/time_manager.hindex b1fa26e8c6..94d16b3b43 100644--- a/src/core/hle/kernel/time_manager.h+++ b/src/core/hle/kernel/time_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/acc.cpp b/src/core/hle/service/acc/acc.cppindex 8a53329911..88b74cbb06 100644--- a/src/core/hle/service/acc/acc.cpp+++ b/src/core/hle/service/acc/acc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/hle/service/acc/acc.h b/src/core/hle/service/acc/acc.hindex f7e9bc4f8c..fff447fc3e 100644--- a/src/core/hle/service/acc/acc.h+++ b/src/core/hle/service/acc/acc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/acc_aa.cpp b/src/core/hle/service/acc/acc_aa.cppindex e498fb64d7..90ed0f5197 100644--- a/src/core/hle/service/acc/acc_aa.cpp+++ b/src/core/hle/service/acc/acc_aa.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/acc/acc_aa.h"diff --git a/src/core/hle/service/acc/acc_aa.h b/src/core/hle/service/acc/acc_aa.hindex d1be20ff3b..623daeaef0 100644--- a/src/core/hle/service/acc/acc_aa.h+++ b/src/core/hle/service/acc/acc_aa.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/acc_su.cpp b/src/core/hle/service/acc/acc_su.cppindex f4034d5916..b6bfd61552 100644--- a/src/core/hle/service/acc/acc_su.cpp+++ b/src/core/hle/service/acc/acc_su.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/acc/acc_su.h"diff --git a/src/core/hle/service/acc/acc_su.h b/src/core/hle/service/acc/acc_su.hindex 132a126b4e..8daef38b8b 100644--- a/src/core/hle/service/acc/acc_su.h+++ b/src/core/hle/service/acc/acc_su.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/acc_u0.cpp b/src/core/hle/service/acc/acc_u0.cppindex df77c58f05..65023b8c22 100644--- a/src/core/hle/service/acc/acc_u0.cpp+++ b/src/core/hle/service/acc/acc_u0.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/acc/acc_u0.h"diff --git a/src/core/hle/service/acc/acc_u0.h b/src/core/hle/service/acc/acc_u0.hindex 4c2600b679..35cd4b492c 100644--- a/src/core/hle/service/acc/acc_u0.h+++ b/src/core/hle/service/acc/acc_u0.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/acc_u1.cpp b/src/core/hle/service/acc/acc_u1.cppindex 991921984e..92f704c2f6 100644--- a/src/core/hle/service/acc/acc_u1.cpp+++ b/src/core/hle/service/acc/acc_u1.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/acc/acc_u1.h"diff --git a/src/core/hle/service/acc/acc_u1.h b/src/core/hle/service/acc/acc_u1.hindex 2d478324a7..e711d39252 100644--- a/src/core/hle/service/acc/acc_u1.h+++ b/src/core/hle/service/acc/acc_u1.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/async_context.cpp b/src/core/hle/service/acc/async_context.cppindex a49dfdec7f..c85b2e43a1 100644--- a/src/core/hle/service/acc/async_context.cpp+++ b/src/core/hle/service/acc/async_context.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/acc/async_context.h b/src/core/hle/service/acc/async_context.hindex cc3a0a9fe6..e4929f7f06 100644--- a/src/core/hle/service/acc/async_context.h+++ b/src/core/hle/service/acc/async_context.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/errors.h b/src/core/hle/service/acc/errors.hindex 1f05772394..eafb75713c 100644--- a/src/core/hle/service/acc/errors.h+++ b/src/core/hle/service/acc/errors.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/acc/profile_manager.cpp b/src/core/hle/service/acc/profile_manager.cppindex fba8471423..0ef2981801 100644--- a/src/core/hle/service/acc/profile_manager.cpp+++ b/src/core/hle/service/acc/profile_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include <random>diff --git a/src/core/hle/service/acc/profile_manager.h b/src/core/hle/service/acc/profile_manager.hindex 5b690b4061..955dbd3d6f 100644--- a/src/core/hle/service/acc/profile_manager.h+++ b/src/core/hle/service/acc/profile_manager.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/am.cpp b/src/core/hle/service/am/am.cppindex 4d7e5ecd3b..4657bdabc2 100644--- a/src/core/hle/service/am/am.cpp+++ b/src/core/hle/service/am/am.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/hle/service/am/am.h b/src/core/hle/service/am/am.hindex 11a3c04594..06f13aa091 100644--- a/src/core/hle/service/am/am.h+++ b/src/core/hle/service/am/am.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applet_ae.cpp b/src/core/hle/service/am/applet_ae.cppindex 0ec4fd4caa..d7719da35f 100644--- a/src/core/hle/service/am/applet_ae.cpp+++ b/src/core/hle/service/am/applet_ae.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/core.h"diff --git a/src/core/hle/service/am/applet_ae.h b/src/core/hle/service/am/applet_ae.hindex f89f656496..2147976a68 100644--- a/src/core/hle/service/am/applet_ae.h+++ b/src/core/hle/service/am/applet_ae.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applet_oe.cpp b/src/core/hle/service/am/applet_oe.cppindex b8859f4e65..00fc4202ca 100644--- a/src/core/hle/service/am/applet_oe.cpp+++ b/src/core/hle/service/am/applet_oe.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/am/applet_oe.h b/src/core/hle/service/am/applet_oe.hindex 64b874ead1..8fea249f12 100644--- a/src/core/hle/service/am/applet_oe.h+++ b/src/core/hle/service/am/applet_oe.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_controller.cpp b/src/core/hle/service/am/applets/applet_controller.cppindex d073f22108..655f2e936b 100644--- a/src/core/hle/service/am/applets/applet_controller.cpp+++ b/src/core/hle/service/am/applets/applet_controller.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/hle/service/am/applets/applet_controller.h b/src/core/hle/service/am/applets/applet_controller.hindex 1a832505eb..e1a34853d4 100644--- a/src/core/hle/service/am/applets/applet_controller.h+++ b/src/core/hle/service/am/applets/applet_controller.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_error.cpp b/src/core/hle/service/am/applets/applet_error.cppindex a06c2b8723..911b2c229f 100644--- a/src/core/hle/service/am/applets/applet_error.cpp+++ b/src/core/hle/service/am/applets/applet_error.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <cstring>diff --git a/src/core/hle/service/am/applets/applet_error.h b/src/core/hle/service/am/applets/applet_error.hindex 8aa9046a51..43487f6474 100644--- a/src/core/hle/service/am/applets/applet_error.h+++ b/src/core/hle/service/am/applets/applet_error.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_general_backend.cpp b/src/core/hle/service/am/applets/applet_general_backend.cppindex 2c6e9d83c8..3fe1a390a6 100644--- a/src/core/hle/service/am/applets/applet_general_backend.cpp+++ b/src/core/hle/service/am/applets/applet_general_backend.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/hex_util.h"diff --git a/src/core/hle/service/am/applets/applet_general_backend.h b/src/core/hle/service/am/applets/applet_general_backend.hindex 7496ded884..e647d0f41f 100644--- a/src/core/hle/service/am/applets/applet_general_backend.h+++ b/src/core/hle/service/am/applets/applet_general_backend.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_mii_edit.cpp b/src/core/hle/service/am/applets/applet_mii_edit.cppindex 8fbde1be4c..3acde16303 100644--- a/src/core/hle/service/am/applets/applet_mii_edit.cpp+++ b/src/core/hle/service/am/applets/applet_mii_edit.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/am/applets/applet_mii_edit.h b/src/core/hle/service/am/applets/applet_mii_edit.hindex e9ca0e2afe..900754e575 100644--- a/src/core/hle/service/am/applets/applet_mii_edit.h+++ b/src/core/hle/service/am/applets/applet_mii_edit.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_mii_edit_types.h b/src/core/hle/service/am/applets/applet_mii_edit_types.hindex 70dea00076..1b145b6963 100644--- a/src/core/hle/service/am/applets/applet_mii_edit_types.h+++ b/src/core/hle/service/am/applets/applet_mii_edit_types.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_profile_select.cpp b/src/core/hle/service/am/applets/applet_profile_select.cppindex 82500e121f..fd16f2e494 100644--- a/src/core/hle/service/am/applets/applet_profile_select.cpp+++ b/src/core/hle/service/am/applets/applet_profile_select.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>diff --git a/src/core/hle/service/am/applets/applet_profile_select.h b/src/core/hle/service/am/applets/applet_profile_select.hindex 852e1e0c05..3a6e50eaa9 100644--- a/src/core/hle/service/am/applets/applet_profile_select.h+++ b/src/core/hle/service/am/applets/applet_profile_select.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_software_keyboard.cpp b/src/core/hle/service/am/applets/applet_software_keyboard.cppindex ee669686c0..7c21365e48 100644--- a/src/core/hle/service/am/applets/applet_software_keyboard.cpp+++ b/src/core/hle/service/am/applets/applet_software_keyboard.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/string_util.h"#include "core/core.h"diff --git a/src/core/hle/service/am/applets/applet_software_keyboard.h b/src/core/hle/service/am/applets/applet_software_keyboard.hindex 7ee4c5eeac..c36806a722 100644--- a/src/core/hle/service/am/applets/applet_software_keyboard.h+++ b/src/core/hle/service/am/applets/applet_software_keyboard.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_software_keyboard_types.h b/src/core/hle/service/am/applets/applet_software_keyboard_types.hindex de1ca7aa54..1f696900e7 100644--- a/src/core/hle/service/am/applets/applet_software_keyboard_types.h+++ b/src/core/hle/service/am/applets/applet_software_keyboard_types.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_web_browser.cpp b/src/core/hle/service/am/applets/applet_web_browser.cppindex a4b3fb187c..2aa4a00adf 100644--- a/src/core/hle/service/am/applets/applet_web_browser.cpp+++ b/src/core/hle/service/am/applets/applet_web_browser.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/fs/file.h"diff --git a/src/core/hle/service/am/applets/applet_web_browser.h b/src/core/hle/service/am/applets/applet_web_browser.hindex b3364ee06f..6b602769bd 100644--- a/src/core/hle/service/am/applets/applet_web_browser.h+++ b/src/core/hle/service/am/applets/applet_web_browser.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applet_web_browser_types.h b/src/core/hle/service/am/applets/applet_web_browser_types.hindex 419c2bf791..c522c5c1a5 100644--- a/src/core/hle/service/am/applets/applet_web_browser_types.h+++ b/src/core/hle/service/am/applets/applet_web_browser_types.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/applets/applets.cpp b/src/core/hle/service/am/applets/applets.cppindex 1f4c9786a9..b5b8e4cad7 100644--- a/src/core/hle/service/am/applets/applets.cpp+++ b/src/core/hle/service/am/applets/applets.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>diff --git a/src/core/hle/service/am/applets/applets.h b/src/core/hle/service/am/applets/applets.hindex 50a7bdceb7..2861fed0e3 100644--- a/src/core/hle/service/am/applets/applets.h+++ b/src/core/hle/service/am/applets/applets.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/idle.cpp b/src/core/hle/service/am/idle.cppindex 6196773d50..6035152843 100644--- a/src/core/hle/service/am/idle.cpp+++ b/src/core/hle/service/am/idle.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/am/idle.h"diff --git a/src/core/hle/service/am/idle.h b/src/core/hle/service/am/idle.hindex e290c30b18..15b31f67ee 100644--- a/src/core/hle/service/am/idle.h+++ b/src/core/hle/service/am/idle.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/omm.cpp b/src/core/hle/service/am/omm.cppindex 6da9b9f583..66824e4955 100644--- a/src/core/hle/service/am/omm.cpp+++ b/src/core/hle/service/am/omm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/am/omm.h"diff --git a/src/core/hle/service/am/omm.h b/src/core/hle/service/am/omm.hindex 3766150fe4..73d0c82d53 100644--- a/src/core/hle/service/am/omm.h+++ b/src/core/hle/service/am/omm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/spsm.cpp b/src/core/hle/service/am/spsm.cppindex 95218d9ee7..ec581e32b0 100644--- a/src/core/hle/service/am/spsm.cpp+++ b/src/core/hle/service/am/spsm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/am/spsm.h"diff --git a/src/core/hle/service/am/spsm.h b/src/core/hle/service/am/spsm.hindex 04bbf9e68e..922f8863ea 100644--- a/src/core/hle/service/am/spsm.h+++ b/src/core/hle/service/am/spsm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/am/tcap.cpp b/src/core/hle/service/am/tcap.cppindex 4d0971c032..818420e22b 100644--- a/src/core/hle/service/am/tcap.cpp+++ b/src/core/hle/service/am/tcap.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/am/tcap.h"diff --git a/src/core/hle/service/am/tcap.h b/src/core/hle/service/am/tcap.hindex e9578f16e1..6b2148c29a 100644--- a/src/core/hle/service/am/tcap.h+++ b/src/core/hle/service/am/tcap.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/aoc/aoc_u.cpp b/src/core/hle/service/aoc/aoc_u.cppindex 3c83717b59..368ccd52f5 100644--- a/src/core/hle/service/aoc/aoc_u.cpp+++ b/src/core/hle/service/aoc/aoc_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <numeric>diff --git a/src/core/hle/service/aoc/aoc_u.h b/src/core/hle/service/aoc/aoc_u.hindex 4b5f7c5f22..6c1ce601a6 100644--- a/src/core/hle/service/aoc/aoc_u.h+++ b/src/core/hle/service/aoc/aoc_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/apm/apm.cpp b/src/core/hle/service/apm/apm.cppindex 243ea15b81..8a338d9b14 100644--- a/src/core/hle/service/apm/apm.cpp+++ b/src/core/hle/service/apm/apm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/hle/service/apm/apm.h"diff --git a/src/core/hle/service/apm/apm.h b/src/core/hle/service/apm/apm.hindex 691fe6c168..0fecc766a0 100644--- a/src/core/hle/service/apm/apm.h+++ b/src/core/hle/service/apm/apm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/apm/apm_controller.cpp b/src/core/hle/service/apm/apm_controller.cppindex 187fef2adb..4e710491b6 100644--- a/src/core/hle/service/apm/apm_controller.cpp+++ b/src/core/hle/service/apm/apm_controller.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/hle/service/apm/apm_controller.h b/src/core/hle/service/apm/apm_controller.hindex d6fbd2c0ca..3357b7762a 100644--- a/src/core/hle/service/apm/apm_controller.h+++ b/src/core/hle/service/apm/apm_controller.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/apm/apm_interface.cpp b/src/core/hle/service/apm/apm_interface.cppindex 6163e3294e..041fc16bd7 100644--- a/src/core/hle/service/apm/apm_interface.cpp+++ b/src/core/hle/service/apm/apm_interface.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/apm/apm_interface.h b/src/core/hle/service/apm/apm_interface.hindex 063ad53082..0740fd4bab 100644--- a/src/core/hle/service/apm/apm_interface.h+++ b/src/core/hle/service/apm/apm_interface.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audctl.cpp b/src/core/hle/service/audio/audctl.cppindex 260fd0e0e5..4a2ae5f88a 100644--- a/src/core/hle/service/audio/audctl.cpp+++ b/src/core/hle/service/audio/audctl.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/audio/audctl.h b/src/core/hle/service/audio/audctl.hindex 15f6c77a0e..a27ff6cfe2 100644--- a/src/core/hle/service/audio/audctl.h+++ b/src/core/hle/service/audio/audctl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/auddbg.cpp b/src/core/hle/service/audio/auddbg.cppindex 6264e4bda1..5541af3005 100644--- a/src/core/hle/service/audio/auddbg.cpp+++ b/src/core/hle/service/audio/auddbg.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/auddbg.h"diff --git a/src/core/hle/service/audio/auddbg.h b/src/core/hle/service/audio/auddbg.hindex d1653eedd9..8f26be5dc5 100644--- a/src/core/hle/service/audio/auddbg.h+++ b/src/core/hle/service/audio/auddbg.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audin_a.cpp b/src/core/hle/service/audio/audin_a.cppindex 10acaad19c..98f4a6048e 100644--- a/src/core/hle/service/audio/audin_a.cpp+++ b/src/core/hle/service/audio/audin_a.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/audin_a.h"diff --git a/src/core/hle/service/audio/audin_a.h b/src/core/hle/service/audio/audin_a.hindex 15120a4b6f..19a927de52 100644--- a/src/core/hle/service/audio/audin_a.h+++ b/src/core/hle/service/audio/audin_a.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audin_u.cpp b/src/core/hle/service/audio/audin_u.cppindex 34cc659edb..18d3ae6829 100644--- a/src/core/hle/service/audio/audin_u.cpp+++ b/src/core/hle/service/audio/audin_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/core.h"diff --git a/src/core/hle/service/audio/audin_u.h b/src/core/hle/service/audio/audin_u.hindex bf3418613c..2bfa38eccb 100644--- a/src/core/hle/service/audio/audin_u.h+++ b/src/core/hle/service/audio/audin_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audio.cpp b/src/core/hle/service/audio/audio.cppindex b3f24f9bb1..97da71dfab 100644--- a/src/core/hle/service/audio/audio.cpp+++ b/src/core/hle/service/audio/audio.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/audctl.h"#include "core/hle/service/audio/auddbg.h"diff --git a/src/core/hle/service/audio/audio.h b/src/core/hle/service/audio/audio.hindex b6d13912e7..bbb2214e40 100644--- a/src/core/hle/service/audio/audio.h+++ b/src/core/hle/service/audio/audio.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audout_a.cpp b/src/core/hle/service/audio/audout_a.cppindex 3ee522b507..5ecb99236b 100644--- a/src/core/hle/service/audio/audout_a.cpp+++ b/src/core/hle/service/audio/audout_a.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/audout_a.h"diff --git a/src/core/hle/service/audio/audout_a.h b/src/core/hle/service/audio/audout_a.hindex 2043dfb778..f641cffeb3 100644--- a/src/core/hle/service/audio/audout_a.h+++ b/src/core/hle/service/audio/audout_a.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audout_u.cpp b/src/core/hle/service/audio/audout_u.cppindex a72956a285..b0dad60535 100644--- a/src/core/hle/service/audio/audout_u.cpp+++ b/src/core/hle/service/audio/audout_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <cstring>diff --git a/src/core/hle/service/audio/audout_u.h b/src/core/hle/service/audio/audout_u.hindex f7ae2f2bfc..d82004c2e1 100644--- a/src/core/hle/service/audio/audout_u.h+++ b/src/core/hle/service/audio/audout_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audrec_a.cpp b/src/core/hle/service/audio/audrec_a.cppindex 70fc17ae21..fa82e9ac73 100644--- a/src/core/hle/service/audio/audrec_a.cpp+++ b/src/core/hle/service/audio/audrec_a.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/audrec_a.h"diff --git a/src/core/hle/service/audio/audrec_a.h b/src/core/hle/service/audio/audrec_a.hindex 2cce90b1dc..9edf89f6c9 100644--- a/src/core/hle/service/audio/audrec_a.h+++ b/src/core/hle/service/audio/audrec_a.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audrec_u.cpp b/src/core/hle/service/audio/audrec_u.cppindex 74a65ccff2..bc55cec171 100644--- a/src/core/hle/service/audio/audrec_u.cpp+++ b/src/core/hle/service/audio/audrec_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/audrec_u.h"diff --git a/src/core/hle/service/audio/audrec_u.h b/src/core/hle/service/audio/audrec_u.hindex f79d49e5ce..8b48178847 100644--- a/src/core/hle/service/audio/audrec_u.h+++ b/src/core/hle/service/audio/audrec_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audren_a.cpp b/src/core/hle/service/audio/audren_a.cppindex cf8c34a152..e775ac3bff 100644--- a/src/core/hle/service/audio/audren_a.cpp+++ b/src/core/hle/service/audio/audren_a.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/audren_a.h"diff --git a/src/core/hle/service/audio/audren_a.h b/src/core/hle/service/audio/audren_a.hindex 5d0a626ad0..9e08b42459 100644--- a/src/core/hle/service/audio/audren_a.h+++ b/src/core/hle/service/audio/audren_a.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/audren_u.cpp b/src/core/hle/service/audio/audren_u.cppindex d4ffeb21d1..2ce63c0041 100644--- a/src/core/hle/service/audio/audren_u.cpp+++ b/src/core/hle/service/audio/audren_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <memory>diff --git a/src/core/hle/service/audio/audren_u.h b/src/core/hle/service/audio/audren_u.hindex 5922b4b278..869d390027 100644--- a/src/core/hle/service/audio/audren_u.h+++ b/src/core/hle/service/audio/audren_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/codecctl.cpp b/src/core/hle/service/audio/codecctl.cppindex 42961d9085..81b956d7e1 100644--- a/src/core/hle/service/audio/codecctl.cpp+++ b/src/core/hle/service/audio/codecctl.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/audio/codecctl.h"diff --git a/src/core/hle/service/audio/codecctl.h b/src/core/hle/service/audio/codecctl.hindex 58e53259e9..34da982121 100644--- a/src/core/hle/service/audio/codecctl.h+++ b/src/core/hle/service/audio/codecctl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/errors.h b/src/core/hle/service/audio/errors.hindex 6f8c09bcf3..542fec899e 100644--- a/src/core/hle/service/audio/errors.h+++ b/src/core/hle/service/audio/errors.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/audio/hwopus.cpp b/src/core/hle/service/audio/hwopus.cppindex 981b6c9960..75da659e55 100644--- a/src/core/hle/service/audio/hwopus.cpp+++ b/src/core/hle/service/audio/hwopus.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <chrono>#include <cstring>diff --git a/src/core/hle/service/audio/hwopus.h b/src/core/hle/service/audio/hwopus.hindex b74824ff32..265dd0cc63 100644--- a/src/core/hle/service/audio/hwopus.h+++ b/src/core/hle/service/audio/hwopus.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/bcat/backend/backend.cpp b/src/core/hle/service/bcat/backend/backend.cppindex ee49edbb9b..7e6d162308 100644--- a/src/core/hle/service/bcat/backend/backend.cpp+++ b/src/core/hle/service/bcat/backend/backend.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/hex_util.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/bcat/backend/backend.h b/src/core/hle/service/bcat/backend/backend.hindex 63833c927d..7e8026c75b 100644--- a/src/core/hle/service/bcat/backend/backend.h+++ b/src/core/hle/service/bcat/backend/backend.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/bcat/bcat.cpp b/src/core/hle/service/bcat/bcat.cppindex 5a95707de4..d0ac173241 100644--- a/src/core/hle/service/bcat/bcat.cpp+++ b/src/core/hle/service/bcat/bcat.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/bcat/bcat.h"diff --git a/src/core/hle/service/bcat/bcat.h b/src/core/hle/service/bcat/bcat.hindex 1eba477dad..db9d3c8c52 100644--- a/src/core/hle/service/bcat/bcat.h+++ b/src/core/hle/service/bcat/bcat.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/bcat/bcat_module.cpp b/src/core/hle/service/bcat/bcat_module.cppindex 500e7e52d9..076fd79e7e 100644--- a/src/core/hle/service/bcat/bcat_module.cpp+++ b/src/core/hle/service/bcat/bcat_module.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cctype>#include <mbedtls/md5.h>diff --git a/src/core/hle/service/bcat/bcat_module.h b/src/core/hle/service/bcat/bcat_module.hindex 738731c068..b2fcf9bfbf 100644--- a/src/core/hle/service/bcat/bcat_module.h+++ b/src/core/hle/service/bcat/bcat_module.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/bpc/bpc.cpp b/src/core/hle/service/bpc/bpc.cppindex 78e01d8d8f..4661635385 100644--- a/src/core/hle/service/bpc/bpc.cpp+++ b/src/core/hle/service/bpc/bpc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/bpc/bpc.h b/src/core/hle/service/bpc/bpc.hindex 6ec25aa9b2..8adc2f9624 100644--- a/src/core/hle/service/bpc/bpc.h+++ b/src/core/hle/service/bpc/bpc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/btdrv/btdrv.cpp b/src/core/hle/service/btdrv/btdrv.cppindex 0787f43f41..f9ee2b6244 100644--- a/src/core/hle/service/btdrv/btdrv.cpp+++ b/src/core/hle/service/btdrv/btdrv.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/core.h"diff --git a/src/core/hle/service/btdrv/btdrv.h b/src/core/hle/service/btdrv/btdrv.hindex 191410dbc1..9cbe2926fb 100644--- a/src/core/hle/service/btdrv/btdrv.h+++ b/src/core/hle/service/btdrv/btdrv.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/btm/btm.cpp b/src/core/hle/service/btm/btm.cppindex cc268d8779..3fa88cbd3f 100644--- a/src/core/hle/service/btm/btm.cpp+++ b/src/core/hle/service/btm/btm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/btm/btm.h b/src/core/hle/service/btm/btm.hindex c6b878043c..9dcda18486 100644--- a/src/core/hle/service/btm/btm.h+++ b/src/core/hle/service/btm/btm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/caps/caps.cpp b/src/core/hle/service/caps/caps.cppindex 5b7fe8e9bf..13940a8c92 100644--- a/src/core/hle/service/caps/caps.cpp+++ b/src/core/hle/service/caps/caps.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/caps/caps.h"#include "core/hle/service/caps/caps_a.h"diff --git a/src/core/hle/service/caps/caps.h b/src/core/hle/service/caps/caps.hindex 7254055e63..3e89c82cb0 100644--- a/src/core/hle/service/caps/caps.h+++ b/src/core/hle/service/caps/caps.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/caps/caps_a.cpp b/src/core/hle/service/caps/caps_a.cppindex 6220e9f77f..44267b284e 100644--- a/src/core/hle/service/caps/caps_a.cpp+++ b/src/core/hle/service/caps/caps_a.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/caps/caps_a.h"diff --git a/src/core/hle/service/caps/caps_a.h b/src/core/hle/service/caps/caps_a.hindex 389cc6dbe1..319c173d88 100644--- a/src/core/hle/service/caps/caps_a.h+++ b/src/core/hle/service/caps/caps_a.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/caps/caps_c.cpp b/src/core/hle/service/caps/caps_c.cppindex a9ad5c8b15..725a2e3a78 100644--- a/src/core/hle/service/caps/caps_c.cpp+++ b/src/core/hle/service/caps/caps_c.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/caps/caps_c.h b/src/core/hle/service/caps/caps_c.hindex c6d1dfdce0..983a4212db 100644--- a/src/core/hle/service/caps/caps_c.h+++ b/src/core/hle/service/caps/caps_c.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/caps/caps_sc.cpp b/src/core/hle/service/caps/caps_sc.cppindex d91e18e808..395b13da7f 100644--- a/src/core/hle/service/caps/caps_sc.cpp+++ b/src/core/hle/service/caps/caps_sc.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/caps/caps_sc.h"diff --git a/src/core/hle/service/caps/caps_sc.h b/src/core/hle/service/caps/caps_sc.hindex e79a33ee51..e5600f6d78 100644--- a/src/core/hle/service/caps/caps_sc.h+++ b/src/core/hle/service/caps/caps_sc.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/caps/caps_ss.cpp b/src/core/hle/service/caps/caps_ss.cppindex 33a976ddfb..62b9edd413 100644--- a/src/core/hle/service/caps/caps_ss.cpp+++ b/src/core/hle/service/caps/caps_ss.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/caps/caps_ss.h"diff --git a/src/core/hle/service/caps/caps_ss.h b/src/core/hle/service/caps/caps_ss.hindex 1816f78855..718ade4853 100644--- a/src/core/hle/service/caps/caps_ss.h+++ b/src/core/hle/service/caps/caps_ss.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/caps/caps_su.cpp b/src/core/hle/service/caps/caps_su.cppindex 45b705950d..fcb496756b 100644--- a/src/core/hle/service/caps/caps_su.cpp+++ b/src/core/hle/service/caps/caps_su.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/caps/caps_su.h b/src/core/hle/service/caps/caps_su.hindex b366fdb137..c9a1d507b1 100644--- a/src/core/hle/service/caps/caps_su.h+++ b/src/core/hle/service/caps/caps_su.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/caps/caps_u.cpp b/src/core/hle/service/caps/caps_u.cppindex 8f8ee2bb47..5fbba86730 100644--- a/src/core/hle/service/caps/caps_u.cpp+++ b/src/core/hle/service/caps/caps_u.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/caps/caps_u.h b/src/core/hle/service/caps/caps_u.hindex e7e0d8775d..c3d4b9ceae 100644--- a/src/core/hle/service/caps/caps_u.h+++ b/src/core/hle/service/caps/caps_u.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/erpt/erpt.cpp b/src/core/hle/service/erpt/erpt.cppindex c767926a44..923c0022a4 100644--- a/src/core/hle/service/erpt/erpt.cpp+++ b/src/core/hle/service/erpt/erpt.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/erpt/erpt.h b/src/core/hle/service/erpt/erpt.hindex 8cd5c081fa..507d626ec1 100644--- a/src/core/hle/service/erpt/erpt.h+++ b/src/core/hle/service/erpt/erpt.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/es/es.cpp b/src/core/hle/service/es/es.cppindex f6184acc94..cbe9d5f7c1 100644--- a/src/core/hle/service/es/es.cpp+++ b/src/core/hle/service/es/es.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/crypto/key_manager.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/es/es.h b/src/core/hle/service/es/es.hindex 2a7b27d12b..5305635506 100644--- a/src/core/hle/service/es/es.h+++ b/src/core/hle/service/es/es.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/eupld/eupld.cpp b/src/core/hle/service/eupld/eupld.cppindex 2d650b1b74..d1553ace00 100644--- a/src/core/hle/service/eupld/eupld.cpp+++ b/src/core/hle/service/eupld/eupld.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/eupld/eupld.h b/src/core/hle/service/eupld/eupld.hindex 539993a9d5..5de8219bec 100644--- a/src/core/hle/service/eupld/eupld.h+++ b/src/core/hle/service/eupld/eupld.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/fatal/fatal.cpp b/src/core/hle/service/fatal/fatal.cppindex f84506af05..a99c904798 100644--- a/src/core/hle/service/fatal/fatal.cpp+++ b/src/core/hle/service/fatal/fatal.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <cstring>diff --git a/src/core/hle/service/fatal/fatal.h b/src/core/hle/service/fatal/fatal.hindex 2095bf89f5..a7a310f7b1 100644--- a/src/core/hle/service/fatal/fatal.h+++ b/src/core/hle/service/fatal/fatal.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/fatal/fatal_p.cpp b/src/core/hle/service/fatal/fatal_p.cppindex 8672b85dc6..7d35b42087 100644--- a/src/core/hle/service/fatal/fatal_p.cpp+++ b/src/core/hle/service/fatal/fatal_p.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/fatal/fatal_p.h"diff --git a/src/core/hle/service/fatal/fatal_p.h b/src/core/hle/service/fatal/fatal_p.hindex ffa5b7b98b..f743368350 100644--- a/src/core/hle/service/fatal/fatal_p.h+++ b/src/core/hle/service/fatal/fatal_p.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/fatal/fatal_u.cpp b/src/core/hle/service/fatal/fatal_u.cppindex 82993938a2..3739711fce 100644--- a/src/core/hle/service/fatal/fatal_u.cpp+++ b/src/core/hle/service/fatal/fatal_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/fatal/fatal_u.h"diff --git a/src/core/hle/service/fatal/fatal_u.h b/src/core/hle/service/fatal/fatal_u.hindex 0b58c91125..65fbe26961 100644--- a/src/core/hle/service/fatal/fatal_u.h+++ b/src/core/hle/service/fatal/fatal_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/fgm/fgm.cpp b/src/core/hle/service/fgm/fgm.cppindex d7a638f96c..7e9fb03852 100644--- a/src/core/hle/service/fgm/fgm.cpp+++ b/src/core/hle/service/fgm/fgm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/fgm/fgm.h b/src/core/hle/service/fgm/fgm.hindex 75978f2ed4..077e488120 100644--- a/src/core/hle/service/fgm/fgm.h+++ b/src/core/hle/service/fgm/fgm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/filesystem/filesystem.cpp b/src/core/hle/service/filesystem/filesystem.cppindex 4208337db8..f8e7519ca6 100644--- a/src/core/hle/service/filesystem/filesystem.cpp+++ b/src/core/hle/service/filesystem/filesystem.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <utility>diff --git a/src/core/hle/service/filesystem/filesystem.h b/src/core/hle/service/filesystem/filesystem.hindex b155e08113..8dd2652fec 100644--- a/src/core/hle/service/filesystem/filesystem.h+++ b/src/core/hle/service/filesystem/filesystem.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/filesystem/fsp_ldr.cpp b/src/core/hle/service/filesystem/fsp_ldr.cppindex f112ae9d00..1e3366e712 100644--- a/src/core/hle/service/filesystem/fsp_ldr.cpp+++ b/src/core/hle/service/filesystem/fsp_ldr.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/filesystem/fsp_ldr.h"diff --git a/src/core/hle/service/filesystem/fsp_ldr.h b/src/core/hle/service/filesystem/fsp_ldr.hindex d6432a0e12..358739a872 100644--- a/src/core/hle/service/filesystem/fsp_ldr.h+++ b/src/core/hle/service/filesystem/fsp_ldr.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/filesystem/fsp_pr.cpp b/src/core/hle/service/filesystem/fsp_pr.cppindex 9b7f7d8616..4ffc319776 100644--- a/src/core/hle/service/filesystem/fsp_pr.cpp+++ b/src/core/hle/service/filesystem/fsp_pr.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/filesystem/fsp_pr.h"diff --git a/src/core/hle/service/filesystem/fsp_pr.h b/src/core/hle/service/filesystem/fsp_pr.hindex 9e622518c7..bd4e0a730c 100644--- a/src/core/hle/service/filesystem/fsp_pr.h+++ b/src/core/hle/service/filesystem/fsp_pr.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/filesystem/fsp_srv.cpp b/src/core/hle/service/filesystem/fsp_srv.cppindex c07929ab80..ddfcba0f18 100644--- a/src/core/hle/service/filesystem/fsp_srv.cpp+++ b/src/core/hle/service/filesystem/fsp_srv.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cinttypes>#include <cstring>diff --git a/src/core/hle/service/filesystem/fsp_srv.h b/src/core/hle/service/filesystem/fsp_srv.hindex 556708284e..36f552e05c 100644--- a/src/core/hle/service/filesystem/fsp_srv.h+++ b/src/core/hle/service/filesystem/fsp_srv.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/friend/errors.h b/src/core/hle/service/friend/errors.hindex b3996e275c..bc9fe0acaf 100644--- a/src/core/hle/service/friend/errors.h+++ b/src/core/hle/service/friend/errors.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/friend/friend.cpp b/src/core/hle/service/friend/friend.cppindex 79cd3acbbd..e0db787fc6 100644--- a/src/core/hle/service/friend/friend.cpp+++ b/src/core/hle/service/friend/friend.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <queue>#include "common/logging/log.h"diff --git a/src/core/hle/service/friend/friend.h b/src/core/hle/service/friend/friend.hindex 8be3321db7..444da8b359 100644--- a/src/core/hle/service/friend/friend.h+++ b/src/core/hle/service/friend/friend.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/friend/friend_interface.cpp b/src/core/hle/service/friend/friend_interface.cppindex 9b18b2a322..c8b98b1f0c 100644--- a/src/core/hle/service/friend/friend_interface.cpp+++ b/src/core/hle/service/friend/friend_interface.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/friend/friend_interface.h"diff --git a/src/core/hle/service/friend/friend_interface.h b/src/core/hle/service/friend/friend_interface.hindex 43d914b329..3a2184c347 100644--- a/src/core/hle/service/friend/friend_interface.h+++ b/src/core/hle/service/friend/friend_interface.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/glue/arp.cpp b/src/core/hle/service/glue/arp.cppindex 2feead2aad..fec7787abc 100644--- a/src/core/hle/service/glue/arp.cpp+++ b/src/core/hle/service/glue/arp.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/glue/arp.h b/src/core/hle/service/glue/arp.hindex 0df3c5e1f4..06c992e880 100644--- a/src/core/hle/service/glue/arp.h+++ b/src/core/hle/service/glue/arp.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/glue/bgtc.cpp b/src/core/hle/service/glue/bgtc.cppindex 564c3b750e..3248091c35 100644--- a/src/core/hle/service/glue/bgtc.cpp+++ b/src/core/hle/service/glue/bgtc.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/core.h"diff --git a/src/core/hle/service/glue/bgtc.h b/src/core/hle/service/glue/bgtc.hindex 4c0142fd5a..d6e2baec14 100644--- a/src/core/hle/service/glue/bgtc.h+++ b/src/core/hle/service/glue/bgtc.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/glue/ectx.cpp b/src/core/hle/service/glue/ectx.cppindex 249c6f003d..1bd9314aec 100644--- a/src/core/hle/service/glue/ectx.cpp+++ b/src/core/hle/service/glue/ectx.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/glue/ectx.h"diff --git a/src/core/hle/service/glue/ectx.h b/src/core/hle/service/glue/ectx.hindex b275e808a4..a608de053e 100644--- a/src/core/hle/service/glue/ectx.h+++ b/src/core/hle/service/glue/ectx.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/glue/errors.h b/src/core/hle/service/glue/errors.hindex f6647f7240..aefbe1f3e1 100644--- a/src/core/hle/service/glue/errors.h+++ b/src/core/hle/service/glue/errors.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/glue/glue.cpp b/src/core/hle/service/glue/glue.cppindex b24d469cf6..717f2562ba 100644--- a/src/core/hle/service/glue/glue.cpp+++ b/src/core/hle/service/glue/glue.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include "core/core.h"diff --git a/src/core/hle/service/glue/glue.h b/src/core/hle/service/glue/glue.hindex 112cd238b9..ae7c6d2354 100644--- a/src/core/hle/service/glue/glue.h+++ b/src/core/hle/service/glue/glue.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/glue/glue_manager.cpp b/src/core/hle/service/glue/glue_manager.cppindex 48e133b488..f1655b33e9 100644--- a/src/core/hle/service/glue/glue_manager.cpp+++ b/src/core/hle/service/glue/glue_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/glue/errors.h"#include "core/hle/service/glue/glue_manager.h"diff --git a/src/core/hle/service/glue/glue_manager.h b/src/core/hle/service/glue/glue_manager.hindex 4bc5297c6c..6246fd2ff0 100644--- a/src/core/hle/service/glue/glue_manager.h+++ b/src/core/hle/service/glue/glue_manager.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/glue/notif.cpp b/src/core/hle/service/glue/notif.cppindex c559ec9df3..b971846e72 100644--- a/src/core/hle/service/glue/notif.cpp+++ b/src/core/hle/service/glue/notif.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/ipc_helpers.h"#include "core/hle/service/glue/notif.h"diff --git a/src/core/hle/service/glue/notif.h b/src/core/hle/service/glue/notif.hindex 6ecf2015c6..7310d7f725 100644--- a/src/core/hle/service/glue/notif.h+++ b/src/core/hle/service/glue/notif.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/grc/grc.cpp b/src/core/hle/service/grc/grc.cppindex f918bdf038..4b684f6d0b 100644--- a/src/core/hle/service/grc/grc.cpp+++ b/src/core/hle/service/grc/grc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/grc/grc.h b/src/core/hle/service/grc/grc.hindex 9069fe756f..f8c2f8dab4 100644--- a/src/core/hle/service/grc/grc.h+++ b/src/core/hle/service/grc/grc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/console_sixaxis.cpp b/src/core/hle/service/hid/controllers/console_sixaxis.cppindex 8450eaf937..f5a0b94ddc 100644--- a/src/core/hle/service/hid/controllers/console_sixaxis.cpp+++ b/src/core/hle/service/hid/controllers/console_sixaxis.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core_timing.h"#include "core/hid/emulated_console.h"diff --git a/src/core/hle/service/hid/controllers/console_sixaxis.h b/src/core/hle/service/hid/controllers/console_sixaxis.hindex 93454585ad..6da5e94548 100644--- a/src/core/hle/service/hid/controllers/console_sixaxis.h+++ b/src/core/hle/service/hid/controllers/console_sixaxis.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/controller_base.cpp b/src/core/hle/service/hid/controllers/controller_base.cppindex 788ae9ae7a..c58d67d7d6 100644--- a/src/core/hle/service/hid/controllers/controller_base.cpp+++ b/src/core/hle/service/hid/controllers/controller_base.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/hid/controllers/controller_base.h"diff --git a/src/core/hle/service/hid/controllers/controller_base.h b/src/core/hle/service/hid/controllers/controller_base.hindex 5e464149c8..bb01ea6431 100644--- a/src/core/hle/service/hid/controllers/controller_base.h+++ b/src/core/hle/service/hid/controllers/controller_base.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/debug_pad.cpp b/src/core/hle/service/hid/controllers/debug_pad.cppindex 6a6fb9cab3..73309d64e6 100644--- a/src/core/hle/service/hid/controllers/debug_pad.cpp+++ b/src/core/hle/service/hid/controllers/debug_pad.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/common_types.h"diff --git a/src/core/hle/service/hid/controllers/debug_pad.h b/src/core/hle/service/hid/controllers/debug_pad.hindex 4396780a1e..388d25b3ca 100644--- a/src/core/hle/service/hid/controllers/debug_pad.h+++ b/src/core/hle/service/hid/controllers/debug_pad.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/gesture.cpp b/src/core/hle/service/hid/controllers/gesture.cppindex fe895c4f67..c8dd131dd2 100644--- a/src/core/hle/service/hid/controllers/gesture.cpp+++ b/src/core/hle/service/hid/controllers/gesture.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "common/math_util.h"diff --git a/src/core/hle/service/hid/controllers/gesture.h b/src/core/hle/service/hid/controllers/gesture.hindex 0936a3fa37..7a9d28dc60 100644--- a/src/core/hle/service/hid/controllers/gesture.h+++ b/src/core/hle/service/hid/controllers/gesture.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/keyboard.cpp b/src/core/hle/service/hid/controllers/keyboard.cppindex 9588a69101..8dc67757bf 100644--- a/src/core/hle/service/hid/controllers/keyboard.cpp+++ b/src/core/hle/service/hid/controllers/keyboard.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/common_types.h"diff --git a/src/core/hle/service/hid/controllers/keyboard.h b/src/core/hle/service/hid/controllers/keyboard.hindex b869352b91..39c6085f1a 100644--- a/src/core/hle/service/hid/controllers/keyboard.h+++ b/src/core/hle/service/hid/controllers/keyboard.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/mouse.cpp b/src/core/hle/service/hid/controllers/mouse.cppindex ba79888ae0..a0292f586a 100644--- a/src/core/hle/service/hid/controllers/mouse.cpp+++ b/src/core/hle/service/hid/controllers/mouse.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/common_types.h"diff --git a/src/core/hle/service/hid/controllers/mouse.h b/src/core/hle/service/hid/controllers/mouse.hindex 8858887b21..62acdfb773 100644--- a/src/core/hle/service/hid/controllers/mouse.h+++ b/src/core/hle/service/hid/controllers/mouse.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/npad.cpp b/src/core/hle/service/hid/controllers/npad.cppindex 68407e39a2..16e973b254 100644--- a/src/core/hle/service/hid/controllers/npad.cpp+++ b/src/core/hle/service/hid/controllers/npad.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/hle/service/hid/controllers/npad.h b/src/core/hle/service/hid/controllers/npad.hindex f7313711f0..b42532b688 100644--- a/src/core/hle/service/hid/controllers/npad.h+++ b/src/core/hle/service/hid/controllers/npad.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/stubbed.cpp b/src/core/hle/service/hid/controllers/stubbed.cppindex b7d7a57560..4d3b9d2be2 100644--- a/src/core/hle/service/hid/controllers/stubbed.cpp+++ b/src/core/hle/service/hid/controllers/stubbed.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/common_types.h"diff --git a/src/core/hle/service/hid/controllers/stubbed.h b/src/core/hle/service/hid/controllers/stubbed.hindex 0044a4efaa..512066eb3d 100644--- a/src/core/hle/service/hid/controllers/stubbed.h+++ b/src/core/hle/service/hid/controllers/stubbed.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/touchscreen.cpp b/src/core/hle/service/hid/controllers/touchscreen.cppindex 65b799e783..5b4b51a694 100644--- a/src/core/hle/service/hid/controllers/touchscreen.cpp+++ b/src/core/hle/service/hid/controllers/touchscreen.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/hle/service/hid/controllers/touchscreen.h b/src/core/hle/service/hid/controllers/touchscreen.hindex 4835527674..424973b38c 100644--- a/src/core/hle/service/hid/controllers/touchscreen.h+++ b/src/core/hle/service/hid/controllers/touchscreen.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/controllers/xpad.cpp b/src/core/hle/service/hid/controllers/xpad.cppindex e4da164665..fc6ac64578 100644--- a/src/core/hle/service/hid/controllers/xpad.cpp+++ b/src/core/hle/service/hid/controllers/xpad.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/common_types.h"diff --git a/src/core/hle/service/hid/controllers/xpad.h b/src/core/hle/service/hid/controllers/xpad.hindex 4973e1bd9d..8211b6ee31 100644--- a/src/core/hle/service/hid/controllers/xpad.h+++ b/src/core/hle/service/hid/controllers/xpad.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/errors.h b/src/core/hle/service/hid/errors.hindex 7c5fb3e529..b318340741 100644--- a/src/core/hle/service/hid/errors.h+++ b/src/core/hle/service/hid/errors.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/hid.cpp b/src/core/hle/service/hid/hid.cppindex baf21df620..fb1ec52b2e 100644--- a/src/core/hle/service/hid/hid.cpp+++ b/src/core/hle/service/hid/hid.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include "common/common_types.h"diff --git a/src/core/hle/service/hid/hid.h b/src/core/hle/service/hid/hid.hindex 666cb6ff51..95778e6733 100644--- a/src/core/hle/service/hid/hid.h+++ b/src/core/hle/service/hid/hid.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/hidbus.cpp b/src/core/hle/service/hid/hidbus.cppindex af7662a158..fa6153b4c8 100644--- a/src/core/hle/service/hid/hidbus.cpp+++ b/src/core/hle/service/hid/hidbus.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "common/settings.h"diff --git a/src/core/hle/service/hid/hidbus.h b/src/core/hle/service/hid/hidbus.hindex b10d5156aa..6b3015a0fc 100644--- a/src/core/hle/service/hid/hidbus.h+++ b/src/core/hle/service/hid/hidbus.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/hidbus/hidbus_base.cpp b/src/core/hle/service/hid/hidbus/hidbus_base.cppindex 09bff10e5a..b569b3c203 100644--- a/src/core/hle/service/hid/hidbus/hidbus_base.cpp+++ b/src/core/hle/service/hid/hidbus/hidbus_base.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hid/hid_core.h"#include "core/hle/kernel/k_event.h"diff --git a/src/core/hle/service/hid/hidbus/hidbus_base.h b/src/core/hle/service/hid/hidbus/hidbus_base.hindex 13d073a3d8..01c52051bc 100644--- a/src/core/hle/service/hid/hidbus/hidbus_base.h+++ b/src/core/hle/service/hid/hidbus/hidbus_base.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/hidbus/ringcon.cpp b/src/core/hle/service/hid/hidbus/ringcon.cppindex 5ec3cc83c4..ad223d6496 100644--- a/src/core/hle/service/hid/hidbus/ringcon.cpp+++ b/src/core/hle/service/hid/hidbus/ringcon.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hid/emulated_devices.h"#include "core/hid/hid_core.h"diff --git a/src/core/hle/service/hid/hidbus/ringcon.h b/src/core/hle/service/hid/hidbus/ringcon.hindex 2dbc6150e7..b37df50ac8 100644--- a/src/core/hle/service/hid/hidbus/ringcon.h+++ b/src/core/hle/service/hid/hidbus/ringcon.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/hidbus/starlink.cpp b/src/core/hle/service/hid/hidbus/starlink.cppindex 3175c48da4..dd439f60af 100644--- a/src/core/hle/service/hid/hidbus/starlink.cpp+++ b/src/core/hle/service/hid/hidbus/starlink.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hid/emulated_controller.h"#include "core/hid/hid_core.h"diff --git a/src/core/hle/service/hid/hidbus/starlink.h b/src/core/hle/service/hid/hidbus/starlink.hindex 79770b68ee..0b1b7ba499 100644--- a/src/core/hle/service/hid/hidbus/starlink.h+++ b/src/core/hle/service/hid/hidbus/starlink.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/hidbus/stubbed.cpp b/src/core/hle/service/hid/hidbus/stubbed.cppindex 5474657be0..e477443e30 100644--- a/src/core/hle/service/hid/hidbus/stubbed.cpp+++ b/src/core/hle/service/hid/hidbus/stubbed.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hid/emulated_controller.h"#include "core/hid/hid_core.h"diff --git a/src/core/hle/service/hid/hidbus/stubbed.h b/src/core/hle/service/hid/hidbus/stubbed.hindex 40acdfe8f7..91165ceff9 100644--- a/src/core/hle/service/hid/hidbus/stubbed.h+++ b/src/core/hle/service/hid/hidbus/stubbed.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/irs.cpp b/src/core/hle/service/hid/irs.cppindex 8812b8ecbd..9e32f3e609 100644--- a/src/core/hle/service/hid/irs.cpp+++ b/src/core/hle/service/hid/irs.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/core_timing.h"diff --git a/src/core/hle/service/hid/irs.h b/src/core/hle/service/hid/irs.hindex 9bc6462b07..efb29d3fd6 100644--- a/src/core/hle/service/hid/irs.h+++ b/src/core/hle/service/hid/irs.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/ring_lifo.h b/src/core/hle/service/hid/ring_lifo.hindex 44c20d9673..65eb7ea02e 100644--- a/src/core/hle/service/hid/ring_lifo.h+++ b/src/core/hle/service/hid/ring_lifo.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/hid/xcd.cpp b/src/core/hle/service/hid/xcd.cppindex b1efa3d055..75cc266ea9 100644--- a/src/core/hle/service/hid/xcd.cpp+++ b/src/core/hle/service/hid/xcd.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/hid/xcd.h"diff --git a/src/core/hle/service/hid/xcd.h b/src/core/hle/service/hid/xcd.hindex 54932c2285..fe0b91b919 100644--- a/src/core/hle/service/hid/xcd.h+++ b/src/core/hle/service/hid/xcd.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/jit/jit.cpp b/src/core/hle/service/jit/jit.cppindex 0f9e33ef61..185d0387b1 100644--- a/src/core/hle/service/jit/jit.cpp+++ b/src/core/hle/service/jit/jit.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/arm/symbols.h"#include "core/core.h"diff --git a/src/core/hle/service/jit/jit.h b/src/core/hle/service/jit/jit.hindex 8fbf504a1c..af0f5b4f3a 100644--- a/src/core/hle/service/jit/jit.h+++ b/src/core/hle/service/jit/jit.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/jit/jit_context.cpp b/src/core/hle/service/jit/jit_context.cppindex 630368fb33..17e58131c7 100644--- a/src/core/hle/service/jit/jit_context.cpp+++ b/src/core/hle/service/jit/jit_context.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <map>diff --git a/src/core/hle/service/jit/jit_context.h b/src/core/hle/service/jit/jit_context.hindex d8bf76cff4..3cb935e3c3 100644--- a/src/core/hle/service/jit/jit_context.h+++ b/src/core/hle/service/jit/jit_context.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/kernel_helpers.cpp b/src/core/hle/service/kernel_helpers.cppindex ff0bbb788e..3e317367b0 100644--- a/src/core/hle/service/kernel_helpers.cpp+++ b/src/core/hle/service/kernel_helpers.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/core_timing.h"diff --git a/src/core/hle/service/kernel_helpers.h b/src/core/hle/service/kernel_helpers.hindex 4f3e95f677..6415838e56 100644--- a/src/core/hle/service/kernel_helpers.h+++ b/src/core/hle/service/kernel_helpers.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/lbl/lbl.cpp b/src/core/hle/service/lbl/lbl.cppindex 5c8ae029ce..c8415e0bf9 100644--- a/src/core/hle/service/lbl/lbl.cpp+++ b/src/core/hle/service/lbl/lbl.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cmath>#include <memory>diff --git a/src/core/hle/service/lbl/lbl.h b/src/core/hle/service/lbl/lbl.hindex 9c2021026c..6484105c24 100644--- a/src/core/hle/service/lbl/lbl.h+++ b/src/core/hle/service/lbl/lbl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ldn/errors.h b/src/core/hle/service/ldn/errors.hindex a718c5c66b..fb86b9402d 100644--- a/src/core/hle/service/ldn/errors.h+++ b/src/core/hle/service/ldn/errors.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ldn/ldn.cpp b/src/core/hle/service/ldn/ldn.cppindex 6ccbe9623b..125d4dc4ca 100644--- a/src/core/hle/service/ldn/ldn.cpp+++ b/src/core/hle/service/ldn/ldn.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/ldn/ldn.h b/src/core/hle/service/ldn/ldn.hindex 3ccd9738be..a0031ac712 100644--- a/src/core/hle/service/ldn/ldn.h+++ b/src/core/hle/service/ldn/ldn.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ldr/ldr.cpp b/src/core/hle/service/ldr/ldr.cppindex 42f9cf8114..fa72fcba97 100644--- a/src/core/hle/service/ldr/ldr.cpp+++ b/src/core/hle/service/ldr/ldr.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include <fmt/format.h>diff --git a/src/core/hle/service/ldr/ldr.h b/src/core/hle/service/ldr/ldr.hindex 104fc15c54..25ffd8442c 100644--- a/src/core/hle/service/ldr/ldr.h+++ b/src/core/hle/service/ldr/ldr.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/lm/lm.cpp b/src/core/hle/service/lm/lm.cppindex e403831343..ef4b540468 100644--- a/src/core/hle/service/lm/lm.cpp+++ b/src/core/hle/service/lm/lm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string>diff --git a/src/core/hle/service/lm/lm.h b/src/core/hle/service/lm/lm.hindex d40410b5c4..266019c30c 100644--- a/src/core/hle/service/lm/lm.h+++ b/src/core/hle/service/lm/lm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/mig/mig.cpp b/src/core/hle/service/mig/mig.cppindex 1599d941bd..b9fe0cecd9 100644--- a/src/core/hle/service/mig/mig.cpp+++ b/src/core/hle/service/mig/mig.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/mig/mig.h b/src/core/hle/service/mig/mig.hindex 2b24cdf2c5..f1641a521b 100644--- a/src/core/hle/service/mig/mig.h+++ b/src/core/hle/service/mig/mig.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/mii/mii.cpp b/src/core/hle/service/mii/mii.cppindex 0b907824d8..41755bf0b0 100644--- a/src/core/hle/service/mii/mii.cpp+++ b/src/core/hle/service/mii/mii.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/mii/mii.h b/src/core/hle/service/mii/mii.hindex 9d3238e723..009d80d587 100644--- a/src/core/hle/service/mii/mii.h+++ b/src/core/hle/service/mii/mii.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/mii/mii_manager.cpp b/src/core/hle/service/mii/mii_manager.cppindex 188231615b..4964539f98 100644--- a/src/core/hle/service/mii/mii_manager.cpp+++ b/src/core/hle/service/mii/mii_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include <random>diff --git a/src/core/hle/service/mii/mii_manager.h b/src/core/hle/service/mii/mii_manager.hindex 5d134c4255..db217b9a5f 100644--- a/src/core/hle/service/mii/mii_manager.h+++ b/src/core/hle/service/mii/mii_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/mii/raw_data.h b/src/core/hle/service/mii/raw_data.hindex 2e39c0d4f4..c2bec68d4c 100644--- a/src/core/hle/service/mii/raw_data.h+++ b/src/core/hle/service/mii/raw_data.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/mii/types.h b/src/core/hle/service/mii/types.hindex 5580b8c6a0..45edbfeae3 100644--- a/src/core/hle/service/mii/types.h+++ b/src/core/hle/service/mii/types.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/mm/mm_u.cpp b/src/core/hle/service/mm/mm_u.cppindex 0ccfe91cd8..5ebb124a77 100644--- a/src/core/hle/service/mm/mm_u.cpp+++ b/src/core/hle/service/mm/mm_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/mm/mm_u.h b/src/core/hle/service/mm/mm_u.hindex 49b6a33551..b40941e357 100644--- a/src/core/hle/service/mm/mm_u.h+++ b/src/core/hle/service/mm/mm_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/mnpp/mnpp_app.cpp b/src/core/hle/service/mnpp/mnpp_app.cppindex 53497612fd..c3aad57146 100644--- a/src/core/hle/service/mnpp/mnpp_app.cpp+++ b/src/core/hle/service/mnpp/mnpp_app.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/mnpp/mnpp_app.h b/src/core/hle/service/mnpp/mnpp_app.hindex 6bf20b4946..eec75fe0e9 100644--- a/src/core/hle/service/mnpp/mnpp_app.h+++ b/src/core/hle/service/mnpp/mnpp_app.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ncm/ncm.cpp b/src/core/hle/service/ncm/ncm.cppindex 2dcda16f61..68210a108e 100644--- a/src/core/hle/service/ncm/ncm.cpp+++ b/src/core/hle/service/ncm/ncm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/ncm/ncm.h b/src/core/hle/service/ncm/ncm.hindex ee01eddc02..de39714375 100644--- a/src/core/hle/service/ncm/ncm.h+++ b/src/core/hle/service/ncm/ncm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nfc/nfc.cpp b/src/core/hle/service/nfc/nfc.cppindex f77037842d..13a843a28d 100644--- a/src/core/hle/service/nfc/nfc.cpp+++ b/src/core/hle/service/nfc/nfc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/nfc/nfc.h b/src/core/hle/service/nfc/nfc.hindex 5a94b076d2..0107b696cc 100644--- a/src/core/hle/service/nfc/nfc.h+++ b/src/core/hle/service/nfc/nfc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nfp/nfp.cpp b/src/core/hle/service/nfp/nfp.cppindex dab99b675e..74891da57a 100644--- a/src/core/hle/service/nfp/nfp.cpp+++ b/src/core/hle/service/nfp/nfp.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <atomic>diff --git a/src/core/hle/service/nfp/nfp.h b/src/core/hle/service/nfp/nfp.hindex ab652f6356..d307c6a35c 100644--- a/src/core/hle/service/nfp/nfp.h+++ b/src/core/hle/service/nfp/nfp.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nfp/nfp_user.cpp b/src/core/hle/service/nfp/nfp_user.cppindex 10b0ef944c..2d7b156cfd 100644--- a/src/core/hle/service/nfp/nfp_user.cpp+++ b/src/core/hle/service/nfp/nfp_user.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/nfp/nfp_user.h"diff --git a/src/core/hle/service/nfp/nfp_user.h b/src/core/hle/service/nfp/nfp_user.hindex 7f3c124f6c..519ff56ee2 100644--- a/src/core/hle/service/nfp/nfp_user.h+++ b/src/core/hle/service/nfp/nfp_user.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ngct/ngct.cpp b/src/core/hle/service/ngct/ngct.cppindex 8ec7d52664..8af8a835d7 100644--- a/src/core/hle/service/ngct/ngct.cpp+++ b/src/core/hle/service/ngct/ngct.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/string_util.h"#include "core/core.h"diff --git a/src/core/hle/service/ngct/ngct.h b/src/core/hle/service/ngct/ngct.hindex 1f2a47b78e..370bd4a254 100644--- a/src/core/hle/service/ngct/ngct.h+++ b/src/core/hle/service/ngct/ngct.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nifm/nifm.cpp b/src/core/hle/service/nifm/nifm.cppindex edb576ad3f..0310ce8832 100644--- a/src/core/hle/service/nifm/nifm.cpp+++ b/src/core/hle/service/nifm/nifm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/nifm/nifm.h b/src/core/hle/service/nifm/nifm.hindex c3dd4f3860..5f62d00142 100644--- a/src/core/hle/service/nifm/nifm.h+++ b/src/core/hle/service/nifm/nifm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nim/nim.cpp b/src/core/hle/service/nim/nim.cppindex 4fc23a9587..b2bb7426d8 100644--- a/src/core/hle/service/nim/nim.cpp+++ b/src/core/hle/service/nim/nim.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <chrono>#include <ctime>diff --git a/src/core/hle/service/nim/nim.h b/src/core/hle/service/nim/nim.hindex 571153fe69..8f6ff28e83 100644--- a/src/core/hle/service/nim/nim.h+++ b/src/core/hle/service/nim/nim.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/npns/npns.cpp b/src/core/hle/service/npns/npns.cppindex 32533cd947..8133711c2b 100644--- a/src/core/hle/service/npns/npns.cpp+++ b/src/core/hle/service/npns/npns.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/npns/npns.h b/src/core/hle/service/npns/npns.hindex 3b7596b6b9..84e6ec4372 100644--- a/src/core/hle/service/npns/npns.h+++ b/src/core/hle/service/npns/npns.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ns/errors.h b/src/core/hle/service/ns/errors.hindex f4aea8a650..3c50c66e03 100644--- a/src/core/hle/service/ns/errors.h+++ b/src/core/hle/service/ns/errors.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ns/language.cpp b/src/core/hle/service/ns/language.cppindex e01c6be47e..036a1e9b7b 100644--- a/src/core/hle/service/ns/language.cpp+++ b/src/core/hle/service/ns/language.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/ns/language.h"#include "core/hle/service/set/set.h"diff --git a/src/core/hle/service/ns/language.h b/src/core/hle/service/ns/language.hindex 2cc8e48062..ab6b710293 100644--- a/src/core/hle/service/ns/language.h+++ b/src/core/hle/service/ns/language.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ns/ns.cpp b/src/core/hle/service/ns/ns.cppindex 5eaad04746..aafc8fe03f 100644--- a/src/core/hle/service/ns/ns.cpp+++ b/src/core/hle/service/ns/ns.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "common/settings.h"diff --git a/src/core/hle/service/ns/ns.h b/src/core/hle/service/ns/ns.hindex 43540b0fb1..4dc1915180 100644--- a/src/core/hle/service/ns/ns.h+++ b/src/core/hle/service/ns/ns.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ns/pdm_qry.cpp b/src/core/hle/service/ns/pdm_qry.cppindex 3a83d06988..aac8f573f2 100644--- a/src/core/hle/service/ns/pdm_qry.cpp+++ b/src/core/hle/service/ns/pdm_qry.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/ns/pdm_qry.h b/src/core/hle/service/ns/pdm_qry.hindex 5161363148..abcc3bef3f 100644--- a/src/core/hle/service/ns/pdm_qry.h+++ b/src/core/hle/service/ns/pdm_qry.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ns/pl_u.cpp b/src/core/hle/service/ns/pl_u.cppindex 74cc45f1ef..cc11f3e082 100644--- a/src/core/hle/service/ns/pl_u.cpp+++ b/src/core/hle/service/ns/pl_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/hle/service/ns/pl_u.h b/src/core/hle/service/ns/pl_u.hindex f920c7f695..07d0ac9343 100644--- a/src/core/hle/service/ns/pl_u.h+++ b/src/core/hle/service/ns/pl_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvdevice.h b/src/core/hle/service/nvdrv/devices/nvdevice.hindex 3d874243ad..696e8121e5 100644--- a/src/core/hle/service/nvdrv/devices/nvdevice.h+++ b/src/core/hle/service/nvdrv/devices/nvdevice.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cppindex 9fad45fe17..6047119142 100644--- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp+++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.h b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.hindex 30b5da4297..67b105e020 100644--- a/src/core/hle/service/nvdrv/devices/nvdisp_disp0.h+++ b/src/core/hle/service/nvdrv/devices/nvdisp_disp0.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cppindex 85170cdb31..9867a648d8 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include <utility>diff --git a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.hindex 24e3151cb0..555843a6f4 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_as_gpu.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cppindex 44c54c665e..705fefc839 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstdlib>#include <cstring>diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.hindex cdf03887d4..4fbb89b155 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cppindex 05b4e2151e..2b3b7efea7 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/assert.h"diff --git a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.h b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.hindex f434f69291..97e9a90cb3 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_ctrl_gpu.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cppindex dde5b15077..b98e63011f 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/assert.h"diff --git a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h b/src/core/hle/service/nvdrv/devices/nvhost_gpu.hindex b2e943e45d..8a9f7775ad 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_gpu.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_gpu.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cppindex 8314d1ec28..2a5128c602 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.hindex a507c4d0a1..29b3e6a360 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cppindex 8a05f06688..8b2cd9bf1d 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.hindex e28c54df61..12d39946db 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvdec_common.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp b/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cppindex c2be3cea73..bdbc2f9e1f 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>diff --git a/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.h b/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.hindex 6045e5cbdb..440e7d371c 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_nvjpg.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvhost_vic.cpp b/src/core/hle/service/nvdrv/devices/nvhost_vic.cppindex 76b39806f4..f58e8bada5 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_vic.cpp+++ b/src/core/hle/service/nvdrv/devices/nvhost_vic.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/nvdrv/devices/nvhost_vic.h b/src/core/hle/service/nvdrv/devices/nvhost_vic.hindex c9732c0375..b41b195aee 100644--- a/src/core/hle/service/nvdrv/devices/nvhost_vic.h+++ b/src/core/hle/service/nvdrv/devices/nvhost_vic.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/devices/nvmap.cpp b/src/core/hle/service/nvdrv/devices/nvmap.cppindex dc59b44941..728bfa00b9 100644--- a/src/core/hle/service/nvdrv/devices/nvmap.cpp+++ b/src/core/hle/service/nvdrv/devices/nvmap.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/hle/service/nvdrv/devices/nvmap.h b/src/core/hle/service/nvdrv/devices/nvmap.hindex d90b69e5a8..d5360d6e58 100644--- a/src/core/hle/service/nvdrv/devices/nvmap.h+++ b/src/core/hle/service/nvdrv/devices/nvmap.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/nvdata.h b/src/core/hle/service/nvdrv/nvdata.hindex 3069c3c80e..1d00394c80 100644--- a/src/core/hle/service/nvdrv/nvdata.h+++ b/src/core/hle/service/nvdrv/nvdata.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/nvdrv.cpp b/src/core/hle/service/nvdrv/nvdrv.cppindex aa7e47cbf0..756eb74537 100644--- a/src/core/hle/service/nvdrv/nvdrv.cpp+++ b/src/core/hle/service/nvdrv/nvdrv.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <utility>diff --git a/src/core/hle/service/nvdrv/nvdrv.h b/src/core/hle/service/nvdrv/nvdrv.hindex 11cf6c0d14..c929e51062 100644--- a/src/core/hle/service/nvdrv/nvdrv.h+++ b/src/core/hle/service/nvdrv/nvdrv.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/nvdrv_interface.cpp b/src/core/hle/service/nvdrv/nvdrv_interface.cppindex 8467b50e47..b5a9803840 100644--- a/src/core/hle/service/nvdrv/nvdrv_interface.cpp+++ b/src/core/hle/service/nvdrv/nvdrv_interface.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cinttypes>#include "common/logging/log.h"diff --git a/src/core/hle/service/nvdrv/nvdrv_interface.h b/src/core/hle/service/nvdrv/nvdrv_interface.hindex 0e764c53f8..cbd37b52b6 100644--- a/src/core/hle/service/nvdrv/nvdrv_interface.h+++ b/src/core/hle/service/nvdrv/nvdrv_interface.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/nvmemp.cpp b/src/core/hle/service/nvdrv/nvmemp.cppindex 331c022431..e433580b1a 100644--- a/src/core/hle/service/nvdrv/nvmemp.cpp+++ b/src/core/hle/service/nvdrv/nvmemp.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/nvdrv/nvmemp.h b/src/core/hle/service/nvdrv/nvmemp.hindex 724c27ef9d..3d42763278 100644--- a/src/core/hle/service/nvdrv/nvmemp.h+++ b/src/core/hle/service/nvdrv/nvmemp.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvdrv/syncpoint_manager.cpp b/src/core/hle/service/nvdrv/syncpoint_manager.cppindex 3b6f555261..f77f0df27a 100644--- a/src/core/hle/service/nvdrv/syncpoint_manager.cpp+++ b/src/core/hle/service/nvdrv/syncpoint_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "core/hle/service/nvdrv/syncpoint_manager.h"diff --git a/src/core/hle/service/nvdrv/syncpoint_manager.h b/src/core/hle/service/nvdrv/syncpoint_manager.hindex 99f2864742..7f080f76e2 100644--- a/src/core/hle/service/nvdrv/syncpoint_manager.h+++ b/src/core/hle/service/nvdrv/syncpoint_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/nvflinger/binder.h b/src/core/hle/service/nvflinger/binder.hindex 7d0d4d8193..21aaa40cd7 100644--- a/src/core/hle/service/nvflinger/binder.h+++ b/src/core/hle/service/nvflinger/binder.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/binder/IBinder.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_item.h b/src/core/hle/service/nvflinger/buffer_item.hindex 64b82b8517..f73dec4f1a 100644--- a/src/core/hle/service/nvflinger/buffer_item.h+++ b/src/core/hle/service/nvflinger/buffer_item.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferItem.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_item_consumer.cpp b/src/core/hle/service/nvflinger/buffer_item_consumer.cppindex d7ee5362b1..6d2c92a2c5 100644--- a/src/core/hle/service/nvflinger/buffer_item_consumer.cpp+++ b/src/core/hle/service/nvflinger/buffer_item_consumer.cpp@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2012 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2012 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/BufferItemConsumer.cpp#include "common/assert.h"diff --git a/src/core/hle/service/nvflinger/buffer_item_consumer.h b/src/core/hle/service/nvflinger/buffer_item_consumer.hindex 536db81e28..69046233d5 100644--- a/src/core/hle/service/nvflinger/buffer_item_consumer.h+++ b/src/core/hle/service/nvflinger/buffer_item_consumer.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2012 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2012 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferItemConsumer.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp b/src/core/hle/service/nvflinger/buffer_queue_consumer.cppindex 3ab9a8c057..d7db77afff 100644--- a/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp+++ b/src/core/hle/service/nvflinger/buffer_queue_consumer.cpp@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/BufferQueueConsumer.cpp#include "common/logging/log.h"diff --git a/src/core/hle/service/nvflinger/buffer_queue_consumer.h b/src/core/hle/service/nvflinger/buffer_queue_consumer.hindex 8a047fe06e..b598c314ff 100644--- a/src/core/hle/service/nvflinger/buffer_queue_consumer.h+++ b/src/core/hle/service/nvflinger/buffer_queue_consumer.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferQueueConsumer.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_queue_core.cpp b/src/core/hle/service/nvflinger/buffer_queue_core.cppindex ec5aabaeb9..d4e8b44d0c 100644--- a/src/core/hle/service/nvflinger/buffer_queue_core.cpp+++ b/src/core/hle/service/nvflinger/buffer_queue_core.cpp@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/BufferQueueCore.cpp#include "common/assert.h"diff --git a/src/core/hle/service/nvflinger/buffer_queue_core.h b/src/core/hle/service/nvflinger/buffer_queue_core.hindex e4e0937cb3..ca6baefaf2 100644--- a/src/core/hle/service/nvflinger/buffer_queue_core.h+++ b/src/core/hle/service/nvflinger/buffer_queue_core.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferQueueCore.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_queue_defs.h b/src/core/hle/service/nvflinger/buffer_queue_defs.hindex 387d3d36af..334445213c 100644--- a/src/core/hle/service/nvflinger/buffer_queue_defs.h+++ b/src/core/hle/service/nvflinger/buffer_queue_defs.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferQueueDefs.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_queue_producer.cpp b/src/core/hle/service/nvflinger/buffer_queue_producer.cppindex 6f604a88ed..fe95d1b731 100644--- a/src/core/hle/service/nvflinger/buffer_queue_producer.cpp+++ b/src/core/hle/service/nvflinger/buffer_queue_producer.cpp@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/BufferQueueProducer.cpp#include "common/assert.h"diff --git a/src/core/hle/service/nvflinger/buffer_queue_producer.h b/src/core/hle/service/nvflinger/buffer_queue_producer.hindex c4ca68fd3f..42d4722dc3 100644--- a/src/core/hle/service/nvflinger/buffer_queue_producer.h+++ b/src/core/hle/service/nvflinger/buffer_queue_producer.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferQueueProducer.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_slot.h b/src/core/hle/service/nvflinger/buffer_slot.hindex e3ea589108..6b3e874461 100644--- a/src/core/hle/service/nvflinger/buffer_slot.h+++ b/src/core/hle/service/nvflinger/buffer_slot.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/BufferSlot.h#pragma oncediff --git a/src/core/hle/service/nvflinger/buffer_transform_flags.h b/src/core/hle/service/nvflinger/buffer_transform_flags.hindex e8e6300e3e..67aa5dad63 100644--- a/src/core/hle/service/nvflinger/buffer_transform_flags.h+++ b/src/core/hle/service/nvflinger/buffer_transform_flags.h@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#pragma oncediff --git a/src/core/hle/service/nvflinger/consumer_base.cpp b/src/core/hle/service/nvflinger/consumer_base.cppindex 30fc21acc6..5b9995854e 100644--- a/src/core/hle/service/nvflinger/consumer_base.cpp+++ b/src/core/hle/service/nvflinger/consumer_base.cpp@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2010 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2010 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/ConsumerBase.cpp#include "common/assert.h"diff --git a/src/core/hle/service/nvflinger/consumer_base.h b/src/core/hle/service/nvflinger/consumer_base.hindex 736080e3a1..90ba07f457 100644--- a/src/core/hle/service/nvflinger/consumer_base.h+++ b/src/core/hle/service/nvflinger/consumer_base.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2010 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2010 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/ConsumerBase.h#pragma oncediff --git a/src/core/hle/service/nvflinger/consumer_listener.h b/src/core/hle/service/nvflinger/consumer_listener.hindex b6d1c3e9a4..74a1939883 100644--- a/src/core/hle/service/nvflinger/consumer_listener.h+++ b/src/core/hle/service/nvflinger/consumer_listener.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/IConsumerListener.h#pragma oncediff --git a/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp b/src/core/hle/service/nvflinger/graphic_buffer_producer.cppindex 04068827e6..4043c91f19 100644--- a/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp+++ b/src/core/hle/service/nvflinger/graphic_buffer_producer.cpp@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2010 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2010 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/libs/gui/IGraphicBufferProducer.cpp#include "core/hle/service/nvflinger/graphic_buffer_producer.h"diff --git a/src/core/hle/service/nvflinger/graphic_buffer_producer.h b/src/core/hle/service/nvflinger/graphic_buffer_producer.hindex 98d27871c9..6ea327bbe7 100644--- a/src/core/hle/service/nvflinger/graphic_buffer_producer.h+++ b/src/core/hle/service/nvflinger/graphic_buffer_producer.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2010 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2010 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/IGraphicBufferProducer.h#pragma oncediff --git a/src/core/hle/service/nvflinger/hos_binder_driver_server.cpp b/src/core/hle/service/nvflinger/hos_binder_driver_server.cppindex 094ba25426..dc9b2a9ecd 100644--- a/src/core/hle/service/nvflinger/hos_binder_driver_server.cpp+++ b/src/core/hle/service/nvflinger/hos_binder_driver_server.cpp@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#include <mutex>diff --git a/src/core/hle/service/nvflinger/hos_binder_driver_server.h b/src/core/hle/service/nvflinger/hos_binder_driver_server.hindex cbca87fa0e..8fddc12061 100644--- a/src/core/hle/service/nvflinger/hos_binder_driver_server.h+++ b/src/core/hle/service/nvflinger/hos_binder_driver_server.h@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#pragma oncediff --git a/src/core/hle/service/nvflinger/nvflinger.cpp b/src/core/hle/service/nvflinger/nvflinger.cppindex 6fb2cdff18..2b2985a2d4 100644--- a/src/core/hle/service/nvflinger/nvflinger.cpp+++ b/src/core/hle/service/nvflinger/nvflinger.cpp@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#include <algorithm>#include <optional>diff --git a/src/core/hle/service/nvflinger/nvflinger.h b/src/core/hle/service/nvflinger/nvflinger.hindex ed160f6f9f..4775597cce 100644--- a/src/core/hle/service/nvflinger/nvflinger.h+++ b/src/core/hle/service/nvflinger/nvflinger.h@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#pragma oncediff --git a/src/core/hle/service/nvflinger/parcel.h b/src/core/hle/service/nvflinger/parcel.hindex aa36e6479a..f3fa2587df 100644--- a/src/core/hle/service/nvflinger/parcel.h+++ b/src/core/hle/service/nvflinger/parcel.h@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#pragma oncediff --git a/src/core/hle/service/nvflinger/pixel_format.h b/src/core/hle/service/nvflinger/pixel_format.hindex 8a77d8beae..f77d0acfb3 100644--- a/src/core/hle/service/nvflinger/pixel_format.h+++ b/src/core/hle/service/nvflinger/pixel_format.h@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#pragma oncediff --git a/src/core/hle/service/nvflinger/producer_listener.h b/src/core/hle/service/nvflinger/producer_listener.hindex 468e06431b..1c4d5db0e7 100644--- a/src/core/hle/service/nvflinger/producer_listener.h+++ b/src/core/hle/service/nvflinger/producer_listener.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2014 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2014 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/gui/IProducerListener.h#pragma oncediff --git a/src/core/hle/service/nvflinger/status.h b/src/core/hle/service/nvflinger/status.hindex a003eda897..7af166c407 100644--- a/src/core/hle/service/nvflinger/status.h+++ b/src/core/hle/service/nvflinger/status.h@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#pragma oncediff --git a/src/core/hle/service/nvflinger/ui/fence.h b/src/core/hle/service/nvflinger/ui/fence.hindex 4a74e26a3f..536e8156d8 100644--- a/src/core/hle/service/nvflinger/ui/fence.h+++ b/src/core/hle/service/nvflinger/ui/fence.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2012 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2012 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/ui/Fence.h#pragma oncediff --git a/src/core/hle/service/nvflinger/ui/graphic_buffer.h b/src/core/hle/service/nvflinger/ui/graphic_buffer.hindex 7abbf78ba8..9a27f8f02d 100644--- a/src/core/hle/service/nvflinger/ui/graphic_buffer.h+++ b/src/core/hle/service/nvflinger/ui/graphic_buffer.h@@ -1,7 +1,7 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-FileCopyrightText: Copyright 2007 The Android Open Source Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project-// Copyright 2007 The Android Open Source Project-// Parts of this implementation were base on:+// Parts of this implementation were based on:// https://cs.android.com/android/platform/superproject/+/android-5.1.1_r38:frameworks/native/include/ui/GraphicBuffer.h#pragma oncediff --git a/src/core/hle/service/nvflinger/window.h b/src/core/hle/service/nvflinger/window.hindex e26f8160ee..61cca5b014 100644--- a/src/core/hle/service/nvflinger/window.h+++ b/src/core/hle/service/nvflinger/window.h@@ -1,5 +1,5 @@+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project// SPDX-License-Identifier: GPL-3.0-or-later-// Copyright 2021 yuzu Emulator Project#pragma oncediff --git a/src/core/hle/service/olsc/olsc.cpp b/src/core/hle/service/olsc/olsc.cppindex 39a8031a55..530e1be3bd 100644--- a/src/core/hle/service/olsc/olsc.cpp+++ b/src/core/hle/service/olsc/olsc.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/ipc_helpers.h"#include "core/hle/service/olsc/olsc.h"diff --git a/src/core/hle/service/olsc/olsc.h b/src/core/hle/service/olsc/olsc.hindex 24f24ca6b4..1522d8d321 100644--- a/src/core/hle/service/olsc/olsc.h+++ b/src/core/hle/service/olsc/olsc.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/pcie/pcie.cpp b/src/core/hle/service/pcie/pcie.cppindex 9bc851591c..79501b9f91 100644--- a/src/core/hle/service/pcie/pcie.cpp+++ b/src/core/hle/service/pcie/pcie.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/pcie/pcie.h b/src/core/hle/service/pcie/pcie.hindex e5709a72f3..cebfd9042e 100644--- a/src/core/hle/service/pcie/pcie.h+++ b/src/core/hle/service/pcie/pcie.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/pctl/pctl.cpp b/src/core/hle/service/pctl/pctl.cppindex 908e0a1e30..3f47bf094f 100644--- a/src/core/hle/service/pctl/pctl.cpp+++ b/src/core/hle/service/pctl/pctl.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/pctl/pctl.h"diff --git a/src/core/hle/service/pctl/pctl.h b/src/core/hle/service/pctl/pctl.hindex 1d28900b2d..87f93161e7 100644--- a/src/core/hle/service/pctl/pctl.h+++ b/src/core/hle/service/pctl/pctl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/pctl/pctl_module.cpp b/src/core/hle/service/pctl/pctl_module.cppindex 240776101f..8d57290039 100644--- a/src/core/hle/service/pctl/pctl_module.cpp+++ b/src/core/hle/service/pctl/pctl_module.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/core.h"diff --git a/src/core/hle/service/pctl/pctl_module.h b/src/core/hle/service/pctl/pctl_module.hindex f25c5c5575..6f584530d7 100644--- a/src/core/hle/service/pctl/pctl_module.h+++ b/src/core/hle/service/pctl/pctl_module.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/pcv/pcv.cpp b/src/core/hle/service/pcv/pcv.cppindex 68b2c4178d..0989474beb 100644--- a/src/core/hle/service/pcv/pcv.cpp+++ b/src/core/hle/service/pcv/pcv.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/pcv/pcv.h b/src/core/hle/service/pcv/pcv.hindex c61a0b591a..a42e6f8f63 100644--- a/src/core/hle/service/pcv/pcv.h+++ b/src/core/hle/service/pcv/pcv.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/pm/pm.cpp b/src/core/hle/service/pm/pm.cppindex 057666021e..a8e2a5cbdb 100644--- a/src/core/hle/service/pm/pm.cpp+++ b/src/core/hle/service/pm/pm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/pm/pm.h b/src/core/hle/service/pm/pm.hindex 852e7050c4..0601039289 100644--- a/src/core/hle/service/pm/pm.h+++ b/src/core/hle/service/pm/pm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/prepo/prepo.cpp b/src/core/hle/service/prepo/prepo.cppindex 5c8a446886..78f897d3e6 100644--- a/src/core/hle/service/prepo/prepo.cpp+++ b/src/core/hle/service/prepo/prepo.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/hex_util.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/prepo/prepo.h b/src/core/hle/service/prepo/prepo.hindex 395b57eadd..37ea5afad2 100644--- a/src/core/hle/service/prepo/prepo.h+++ b/src/core/hle/service/prepo/prepo.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/psc/psc.cpp b/src/core/hle/service/psc/psc.cppindex f8ea02b586..3a9412cf54 100644--- a/src/core/hle/service/psc/psc.cpp+++ b/src/core/hle/service/psc/psc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/psc/psc.h b/src/core/hle/service/psc/psc.hindex 89344f32d1..d248372c27 100644--- a/src/core/hle/service/psc/psc.h+++ b/src/core/hle/service/psc/psc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ptm/psm.cpp b/src/core/hle/service/ptm/psm.cppindex 5d248f671c..9e0eb6ac09 100644--- a/src/core/hle/service/ptm/psm.cpp+++ b/src/core/hle/service/ptm/psm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/ptm/psm.h b/src/core/hle/service/ptm/psm.hindex 2930ce26a4..94a1044db6 100644--- a/src/core/hle/service/ptm/psm.h+++ b/src/core/hle/service/ptm/psm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/service.cpp b/src/core/hle/service/service.cppindex 0f59a03c59..574272b0c9 100644--- a/src/core/hle/service/service.cpp+++ b/src/core/hle/service/service.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <fmt/format.h>#include "common/assert.h"diff --git a/src/core/hle/service/service.h b/src/core/hle/service/service.hindex 1482652183..f23e0cd644 100644--- a/src/core/hle/service/service.h+++ b/src/core/hle/service/service.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/set/set.cpp b/src/core/hle/service/set/set.cppindex 8795eb6b70..2839cffcf1 100644--- a/src/core/hle/service/set/set.cpp+++ b/src/core/hle/service/set/set.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/hle/service/set/set.h b/src/core/hle/service/set/set.hindex acabebeaa9..60cad3e6f4 100644--- a/src/core/hle/service/set/set.h+++ b/src/core/hle/service/set/set.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/set/set_cal.cpp b/src/core/hle/service/set/set_cal.cppindex b2aa7bc0c6..d2c0d536f3 100644--- a/src/core/hle/service/set/set_cal.cpp+++ b/src/core/hle/service/set/set_cal.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/set/set_cal.h"diff --git a/src/core/hle/service/set/set_cal.h b/src/core/hle/service/set/set_cal.hindex a29fc3ddd4..8f50278edd 100644--- a/src/core/hle/service/set/set_cal.h+++ b/src/core/hle/service/set/set_cal.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/set/set_fd.cpp b/src/core/hle/service/set/set_fd.cppindex f04dc50472..278ef32e14 100644--- a/src/core/hle/service/set/set_fd.cpp+++ b/src/core/hle/service/set/set_fd.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/set/set_fd.h"diff --git a/src/core/hle/service/set/set_fd.h b/src/core/hle/service/set/set_fd.hindex c28cb301e0..150a7cbced 100644--- a/src/core/hle/service/set/set_fd.h+++ b/src/core/hle/service/set/set_fd.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/set/set_sys.cpp b/src/core/hle/service/set/set_sys.cppindex 38e6eae04d..87c6f7f85a 100644--- a/src/core/hle/service/set/set_sys.cpp+++ b/src/core/hle/service/set/set_sys.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/set/set_sys.h b/src/core/hle/service/set/set_sys.hindex edb185a682..ac97772b78 100644--- a/src/core/hle/service/set/set_sys.h+++ b/src/core/hle/service/set/set_sys.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/set/settings.cpp b/src/core/hle/service/set/settings.cppindex 212ebc4275..4ebc2a0ec8 100644--- a/src/core/hle/service/set/settings.cpp+++ b/src/core/hle/service/set/settings.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/set/set.h"#include "core/hle/service/set/set_cal.h"diff --git a/src/core/hle/service/set/settings.h b/src/core/hle/service/set/settings.hindex 7a6950dd0b..6cd7d634c5 100644--- a/src/core/hle/service/set/settings.h+++ b/src/core/hle/service/set/settings.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sm/sm.cpp b/src/core/hle/service/sm/sm.cppindex 13f5e08ec0..925608875f 100644--- a/src/core/hle/service/sm/sm.cpp+++ b/src/core/hle/service/sm/sm.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <tuple>#include "common/assert.h"diff --git a/src/core/hle/service/sm/sm.h b/src/core/hle/service/sm/sm.hindex f3ff7b27e9..43d445e975 100644--- a/src/core/hle/service/sm/sm.h+++ b/src/core/hle/service/sm/sm.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sm/sm_controller.cpp b/src/core/hle/service/sm/sm_controller.cppindex 09f9ecee17..a4ed4193eb 100644--- a/src/core/hle/service/sm/sm_controller.cpp+++ b/src/core/hle/service/sm/sm_controller.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/hle/service/sm/sm_controller.h b/src/core/hle/service/sm/sm_controller.hindex 7494f898d7..ed386f6608 100644--- a/src/core/hle/service/sm/sm_controller.h+++ b/src/core/hle/service/sm/sm_controller.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sockets/bsd.cpp b/src/core/hle/service/sockets/bsd.cppindex d25b050e2b..5114b8be2f 100644--- a/src/core/hle/service/sockets/bsd.cpp+++ b/src/core/hle/service/sockets/bsd.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <memory>diff --git a/src/core/hle/service/sockets/bsd.h b/src/core/hle/service/sockets/bsd.hindex a387e50df3..fed740d878 100644--- a/src/core/hle/service/sockets/bsd.h+++ b/src/core/hle/service/sockets/bsd.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sockets/ethc.cpp b/src/core/hle/service/sockets/ethc.cppindex 899a64c2f5..c12ea999b5 100644--- a/src/core/hle/service/sockets/ethc.cpp+++ b/src/core/hle/service/sockets/ethc.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/sockets/ethc.h"diff --git a/src/core/hle/service/sockets/ethc.h b/src/core/hle/service/sockets/ethc.hindex 71884182e3..7c5759a960 100644--- a/src/core/hle/service/sockets/ethc.h+++ b/src/core/hle/service/sockets/ethc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sockets/nsd.cpp b/src/core/hle/service/sockets/nsd.cppindex 1159debc52..6491a73be5 100644--- a/src/core/hle/service/sockets/nsd.cpp+++ b/src/core/hle/service/sockets/nsd.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/sockets/nsd.h"diff --git a/src/core/hle/service/sockets/nsd.h b/src/core/hle/service/sockets/nsd.hindex becf931255..5cc12b8555 100644--- a/src/core/hle/service/sockets/nsd.h+++ b/src/core/hle/service/sockets/nsd.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sockets/sfdnsres.cpp b/src/core/hle/service/sockets/sfdnsres.cppindex a193fb578b..097c37d7ae 100644--- a/src/core/hle/service/sockets/sfdnsres.cpp+++ b/src/core/hle/service/sockets/sfdnsres.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>#include <utility>diff --git a/src/core/hle/service/sockets/sfdnsres.h b/src/core/hle/service/sockets/sfdnsres.hindex f0c57377df..96018ea770 100644--- a/src/core/hle/service/sockets/sfdnsres.h+++ b/src/core/hle/service/sockets/sfdnsres.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sockets/sockets.cpp b/src/core/hle/service/sockets/sockets.cppindex 96f73bce33..8d3ba6f96a 100644--- a/src/core/hle/service/sockets/sockets.cpp+++ b/src/core/hle/service/sockets/sockets.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/sockets/bsd.h"#include "core/hle/service/sockets/ethc.h"diff --git a/src/core/hle/service/sockets/sockets.h b/src/core/hle/service/sockets/sockets.hindex d69c864315..b735b00fcc 100644--- a/src/core/hle/service/sockets/sockets.h+++ b/src/core/hle/service/sockets/sockets.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/sockets/sockets_translate.cpp b/src/core/hle/service/sockets/sockets_translate.cppindex ca61d72ca6..9c0936d973 100644--- a/src/core/hle/service/sockets/sockets_translate.cpp+++ b/src/core/hle/service/sockets/sockets_translate.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <utility>diff --git a/src/core/hle/service/sockets/sockets_translate.h b/src/core/hle/service/sockets/sockets_translate.hindex 057d1ff223..5e9809add2 100644--- a/src/core/hle/service/sockets/sockets_translate.h+++ b/src/core/hle/service/sockets/sockets_translate.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/spl/csrng.cpp b/src/core/hle/service/spl/csrng.cppindex 9c7f894758..ca121fb054 100644--- a/src/core/hle/service/spl/csrng.cpp+++ b/src/core/hle/service/spl/csrng.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/spl/csrng.h"diff --git a/src/core/hle/service/spl/csrng.h b/src/core/hle/service/spl/csrng.hindex 0d03cc6cbc..b337a82816 100644--- a/src/core/hle/service/spl/csrng.h+++ b/src/core/hle/service/spl/csrng.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/spl/spl.cpp b/src/core/hle/service/spl/spl.cppindex 20384042f0..fde212186f 100644--- a/src/core/hle/service/spl/spl.cpp+++ b/src/core/hle/service/spl/spl.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/spl/spl.h"diff --git a/src/core/hle/service/spl/spl.h b/src/core/hle/service/spl/spl.hindex 5599c0c010..7b63d8b1a9 100644--- a/src/core/hle/service/spl/spl.h+++ b/src/core/hle/service/spl/spl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/spl/spl_module.cpp b/src/core/hle/service/spl/spl_module.cppindex 10f7d14616..64eae1ebf9 100644--- a/src/core/hle/service/spl/spl_module.cpp+++ b/src/core/hle/service/spl/spl_module.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstdlib>diff --git a/src/core/hle/service/spl/spl_module.h b/src/core/hle/service/spl/spl_module.hindex 61630df80c..4c9a3c6185 100644--- a/src/core/hle/service/spl/spl_module.h+++ b/src/core/hle/service/spl/spl_module.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/spl/spl_results.h b/src/core/hle/service/spl/spl_results.hindex a07c614091..17ef655a98 100644--- a/src/core/hle/service/spl/spl_results.h+++ b/src/core/hle/service/spl/spl_results.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/spl/spl_types.h b/src/core/hle/service/spl/spl_types.hindex a654e7556c..91f9cc0321 100644--- a/src/core/hle/service/spl/spl_types.h+++ b/src/core/hle/service/spl/spl_types.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/ssl/ssl.cpp b/src/core/hle/service/ssl/ssl.cppindex a81a595eac..3735e0452d 100644--- a/src/core/hle/service/ssl/ssl.cpp+++ b/src/core/hle/service/ssl/ssl.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/ipc_helpers.h"#include "core/hle/service/service.h"diff --git a/src/core/hle/service/ssl/ssl.h b/src/core/hle/service/ssl/ssl.hindex a3aa4b4b5e..27b38a0032 100644--- a/src/core/hle/service/ssl/ssl.h+++ b/src/core/hle/service/ssl/ssl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/clock_types.h b/src/core/hle/service/time/clock_types.hindex d0cacb80cd..d0af06d94c 100644--- a/src/core/hle/service/time/clock_types.h+++ b/src/core/hle/service/time/clock_types.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/ephemeral_network_system_clock_context_writer.h b/src/core/hle/service/time/ephemeral_network_system_clock_context_writer.hindex 42893e3f6b..0f928a5a5f 100644--- a/src/core/hle/service/time/ephemeral_network_system_clock_context_writer.h+++ b/src/core/hle/service/time/ephemeral_network_system_clock_context_writer.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/ephemeral_network_system_clock_core.h b/src/core/hle/service/time/ephemeral_network_system_clock_core.hindex d12cb53354..0a5f5aafb6 100644--- a/src/core/hle/service/time/ephemeral_network_system_clock_core.h+++ b/src/core/hle/service/time/ephemeral_network_system_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/errors.h b/src/core/hle/service/time/errors.hindex 8501a3e8c8..592921f6b5 100644--- a/src/core/hle/service/time/errors.h+++ b/src/core/hle/service/time/errors.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/local_system_clock_context_writer.h b/src/core/hle/service/time/local_system_clock_context_writer.hindex ac6c7b4b1a..0977806b32 100644--- a/src/core/hle/service/time/local_system_clock_context_writer.h+++ b/src/core/hle/service/time/local_system_clock_context_writer.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/network_system_clock_context_writer.h b/src/core/hle/service/time/network_system_clock_context_writer.hindex a54fd7fe19..975089af8d 100644--- a/src/core/hle/service/time/network_system_clock_context_writer.h+++ b/src/core/hle/service/time/network_system_clock_context_writer.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/standard_local_system_clock_core.h b/src/core/hle/service/time/standard_local_system_clock_core.hindex 6320c7af1f..ae2ff1bfd6 100644--- a/src/core/hle/service/time/standard_local_system_clock_core.h+++ b/src/core/hle/service/time/standard_local_system_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/standard_network_system_clock_core.h b/src/core/hle/service/time/standard_network_system_clock_core.hindex 95923a27bf..c1ec5252b6 100644--- a/src/core/hle/service/time/standard_network_system_clock_core.h+++ b/src/core/hle/service/time/standard_network_system_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/standard_steady_clock_core.cpp b/src/core/hle/service/time/standard_steady_clock_core.cppindex a1ffdd5243..3dbbb98503 100644--- a/src/core/hle/service/time/standard_steady_clock_core.cpp+++ b/src/core/hle/service/time/standard_steady_clock_core.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/core_timing.h"diff --git a/src/core/hle/service/time/standard_steady_clock_core.h b/src/core/hle/service/time/standard_steady_clock_core.hindex f56f3fd95a..036463b871 100644--- a/src/core/hle/service/time/standard_steady_clock_core.h+++ b/src/core/hle/service/time/standard_steady_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/standard_user_system_clock_core.cpp b/src/core/hle/service/time/standard_user_system_clock_core.cppindex e94220a440..f0cc9a1558 100644--- a/src/core/hle/service/time/standard_user_system_clock_core.cpp+++ b/src/core/hle/service/time/standard_user_system_clock_core.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "core/core.h"diff --git a/src/core/hle/service/time/standard_user_system_clock_core.h b/src/core/hle/service/time/standard_user_system_clock_core.hindex b7cb2b0454..22df23b29c 100644--- a/src/core/hle/service/time/standard_user_system_clock_core.h+++ b/src/core/hle/service/time/standard_user_system_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/steady_clock_core.h b/src/core/hle/service/time/steady_clock_core.hindex 5ee2c0e0a2..2867c351cf 100644--- a/src/core/hle/service/time/steady_clock_core.h+++ b/src/core/hle/service/time/steady_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/system_clock_context_update_callback.cpp b/src/core/hle/service/time/system_clock_context_update_callback.cppindex f656fab1c1..37c140c6f4 100644--- a/src/core/hle/service/time/system_clock_context_update_callback.cpp+++ b/src/core/hle/service/time/system_clock_context_update_callback.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/kernel/k_writable_event.h"#include "core/hle/service/time/errors.h"diff --git a/src/core/hle/service/time/system_clock_context_update_callback.h b/src/core/hle/service/time/system_clock_context_update_callback.hindex 6936397a5d..bee90e3292 100644--- a/src/core/hle/service/time/system_clock_context_update_callback.h+++ b/src/core/hle/service/time/system_clock_context_update_callback.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/system_clock_core.cpp b/src/core/hle/service/time/system_clock_core.cppindex 5c2354cddd..cb132239cd 100644--- a/src/core/hle/service/time/system_clock_core.cpp+++ b/src/core/hle/service/time/system_clock_core.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/time/steady_clock_core.h"#include "core/hle/service/time/system_clock_context_update_callback.h"diff --git a/src/core/hle/service/time/system_clock_core.h b/src/core/hle/service/time/system_clock_core.hindex b9237ad284..76d82f9761 100644--- a/src/core/hle/service/time/system_clock_core.h+++ b/src/core/hle/service/time/system_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/tick_based_steady_clock_core.cpp b/src/core/hle/service/time/tick_based_steady_clock_core.cppindex 47d4ab9808..27600413ee 100644--- a/src/core/hle/service/time/tick_based_steady_clock_core.cpp+++ b/src/core/hle/service/time/tick_based_steady_clock_core.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/core_timing.h"diff --git a/src/core/hle/service/time/tick_based_steady_clock_core.h b/src/core/hle/service/time/tick_based_steady_clock_core.hindex 1a5a53fd78..491185dc3a 100644--- a/src/core/hle/service/time/tick_based_steady_clock_core.h+++ b/src/core/hle/service/time/tick_based_steady_clock_core.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time.cpp b/src/core/hle/service/time/time.cppindex 4d8823b5aa..095fa021cd 100644--- a/src/core/hle/service/time/time.cpp+++ b/src/core/hle/service/time/time.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/core.h"diff --git a/src/core/hle/service/time/time.h b/src/core/hle/service/time/time.hindex 30e2cd3694..017f20a23b 100644--- a/src/core/hle/service/time/time.h+++ b/src/core/hle/service/time/time.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time_interface.cpp b/src/core/hle/service/time/time_interface.cppindex bb7b6b5c1a..0c53e98eeb 100644--- a/src/core/hle/service/time/time_interface.cpp+++ b/src/core/hle/service/time/time_interface.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/time/time_interface.h"diff --git a/src/core/hle/service/time/time_interface.h b/src/core/hle/service/time/time_interface.hindex c41766f1af..ceeb0e5efd 100644--- a/src/core/hle/service/time/time_interface.h+++ b/src/core/hle/service/time/time_interface.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time_manager.cpp b/src/core/hle/service/time/time_manager.cppindex 00f1ae8cf0..acc038dbf3 100644--- a/src/core/hle/service/time/time_manager.cpp+++ b/src/core/hle/service/time/time_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <chrono>#include <ctime>diff --git a/src/core/hle/service/time/time_manager.h b/src/core/hle/service/time/time_manager.hindex 2404067c0f..4f046f2662 100644--- a/src/core/hle/service/time/time_manager.h+++ b/src/core/hle/service/time/time_manager.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time_sharedmemory.cpp b/src/core/hle/service/time/time_sharedmemory.cppindex ed9f75ed64..a3aa0e77ff 100644--- a/src/core/hle/service/time/time_sharedmemory.cpp+++ b/src/core/hle/service/time/time_sharedmemory.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "core/core_timing.h"diff --git a/src/core/hle/service/time/time_sharedmemory.h b/src/core/hle/service/time/time_sharedmemory.hindex 9307ea7959..561685acde 100644--- a/src/core/hle/service/time/time_sharedmemory.h+++ b/src/core/hle/service/time/time_sharedmemory.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time_zone_content_manager.cpp b/src/core/hle/service/time/time_zone_content_manager.cppindex c634b6abdc..80818eb701 100644--- a/src/core/hle/service/time/time_zone_content_manager.cpp+++ b/src/core/hle/service/time/time_zone_content_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <sstream>diff --git a/src/core/hle/service/time/time_zone_content_manager.h b/src/core/hle/service/time/time_zone_content_manager.hindex cfa6010845..c6c94bcc0b 100644--- a/src/core/hle/service/time/time_zone_content_manager.h+++ b/src/core/hle/service/time/time_zone_content_manager.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time_zone_manager.cpp b/src/core/hle/service/time/time_zone_manager.cppindex 2989cee5ec..449a5ac961 100644--- a/src/core/hle/service/time/time_zone_manager.cpp+++ b/src/core/hle/service/time/time_zone_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <climits>diff --git a/src/core/hle/service/time/time_zone_manager.h b/src/core/hle/service/time/time_zone_manager.hindex aaab0a1e0e..8c1b19f816 100644--- a/src/core/hle/service/time/time_zone_manager.h+++ b/src/core/hle/service/time/time_zone_manager.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time_zone_service.cpp b/src/core/hle/service/time/time_zone_service.cppindex 3871e73161..cbf0ef6faa 100644--- a/src/core/hle/service/time/time_zone_service.cpp+++ b/src/core/hle/service/time/time_zone_service.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/ipc_helpers.h"diff --git a/src/core/hle/service/time/time_zone_service.h b/src/core/hle/service/time/time_zone_service.hindex 2c9b97603e..f151f4b563 100644--- a/src/core/hle/service/time/time_zone_service.h+++ b/src/core/hle/service/time/time_zone_service.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/time/time_zone_types.h b/src/core/hle/service/time/time_zone_types.hindex d39103253b..eb4fb52d16 100644--- a/src/core/hle/service/time/time_zone_types.h+++ b/src/core/hle/service/time/time_zone_types.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/usb/usb.cpp b/src/core/hle/service/usb/usb.cppindex 0747c33cde..ac46a406cb 100644--- a/src/core/hle/service/usb/usb.cpp+++ b/src/core/hle/service/usb/usb.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/usb/usb.h b/src/core/hle/service/usb/usb.hindex fc366df343..b41b9684c8 100644--- a/src/core/hle/service/usb/usb.h+++ b/src/core/hle/service/usb/usb.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/vi/display/vi_display.cpp b/src/core/hle/service/vi/display/vi_display.cppindex 558022511e..b34febb503 100644--- a/src/core/hle/service/vi/display/vi_display.cpp+++ b/src/core/hle/service/vi/display/vi_display.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <utility>diff --git a/src/core/hle/service/vi/display/vi_display.h b/src/core/hle/service/vi/display/vi_display.hindex e93d084ee3..3838bb5990 100644--- a/src/core/hle/service/vi/display/vi_display.h+++ b/src/core/hle/service/vi/display/vi_display.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/vi/layer/vi_layer.cpp b/src/core/hle/service/vi/layer/vi_layer.cppindex 93858e91fe..9ae2e0e440 100644--- a/src/core/hle/service/vi/layer/vi_layer.cpp+++ b/src/core/hle/service/vi/layer/vi_layer.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hle/service/vi/layer/vi_layer.h"diff --git a/src/core/hle/service/vi/layer/vi_layer.h b/src/core/hle/service/vi/layer/vi_layer.hindex c28b144508..8cf1b5275b 100644--- a/src/core/hle/service/vi/layer/vi_layer.h+++ b/src/core/hle/service/vi/layer/vi_layer.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/vi/vi.cpp b/src/core/hle/service/vi/vi.cppindex a3436c8ea1..a7b53d7dc9 100644--- a/src/core/hle/service/vi/vi.cpp+++ b/src/core/hle/service/vi/vi.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/core/hle/service/vi/vi.h b/src/core/hle/service/vi/vi.hindex d68f2646b1..fc2d717e7f 100644--- a/src/core/hle/service/vi/vi.h+++ b/src/core/hle/service/vi/vi.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/vi/vi_m.cpp b/src/core/hle/service/vi/vi_m.cppindex be0255f3d9..1ab7fe4ab3 100644--- a/src/core/hle/service/vi/vi_m.cpp+++ b/src/core/hle/service/vi/vi_m.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/service/vi/vi.h"diff --git a/src/core/hle/service/vi/vi_m.h b/src/core/hle/service/vi/vi_m.hindex efbd34e099..3bf76d4391 100644--- a/src/core/hle/service/vi/vi_m.h+++ b/src/core/hle/service/vi/vi_m.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/vi/vi_s.cpp b/src/core/hle/service/vi/vi_s.cppindex 7996a68119..fd799dac12 100644--- a/src/core/hle/service/vi/vi_s.cpp+++ b/src/core/hle/service/vi/vi_s.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/service/vi/vi.h"diff --git a/src/core/hle/service/vi/vi_s.h b/src/core/hle/service/vi/vi_s.hindex 3812c5061e..97503ac7fa 100644--- a/src/core/hle/service/vi/vi_s.h+++ b/src/core/hle/service/vi/vi_s.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/vi/vi_u.cpp b/src/core/hle/service/vi/vi_u.cppindex 57c8883139..6cc54bd13b 100644--- a/src/core/hle/service/vi/vi_u.cpp+++ b/src/core/hle/service/vi/vi_u.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/hle/service/vi/vi.h"diff --git a/src/core/hle/service/vi/vi_u.h b/src/core/hle/service/vi/vi_u.hindex b08e56576a..797941bd76 100644--- a/src/core/hle/service/vi/vi_u.h+++ b/src/core/hle/service/vi/vi_u.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/hle/service/wlan/wlan.cpp b/src/core/hle/service/wlan/wlan.cppindex f10b8c8537..226e3034c4 100644--- a/src/core/hle/service/wlan/wlan.cpp+++ b/src/core/hle/service/wlan/wlan.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/core/hle/service/wlan/wlan.h b/src/core/hle/service/wlan/wlan.hindex 3899eedbb3..535c3bf0d0 100644--- a/src/core/hle/service/wlan/wlan.h+++ b/src/core/hle/service/wlan/wlan.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/deconstructed_rom_directory.cpp b/src/core/loader/deconstructed_rom_directory.cppindex b47e3bf69b..192571d351 100644--- a/src/core/loader/deconstructed_rom_directory.cpp+++ b/src/core/loader/deconstructed_rom_directory.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "common/logging/log.h"diff --git a/src/core/loader/deconstructed_rom_directory.h b/src/core/loader/deconstructed_rom_directory.hindex 79a4d4db58..f7702225ef 100644--- a/src/core/loader/deconstructed_rom_directory.h+++ b/src/core/loader/deconstructed_rom_directory.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/kip.cpp b/src/core/loader/kip.cppindex 99ed34b005..9af46a0f70 100644--- a/src/core/loader/kip.cpp+++ b/src/core/loader/kip.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include "core/file_sys/kernel_executable.h"diff --git a/src/core/loader/kip.h b/src/core/loader/kip.hindex 5f914b4a8a..63f66e85c1 100644--- a/src/core/loader/kip.h+++ b/src/core/loader/kip.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/loader.cpp b/src/core/loader/loader.cppindex 2bb0423b73..994ee891f8 100644--- a/src/core/loader/loader.cpp+++ b/src/core/loader/loader.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include <optional>diff --git a/src/core/loader/loader.h b/src/core/loader/loader.hindex 8b6b3b68f1..7bf4faaf19 100644--- a/src/core/loader/loader.h+++ b/src/core/loader/loader.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/nax.cpp b/src/core/loader/nax.cppindex 3375dab7c1..cf35b12493 100644--- a/src/core/loader/nax.cpp+++ b/src/core/loader/nax.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/file_sys/content_archive.h"#include "core/file_sys/romfs.h"diff --git a/src/core/loader/nax.h b/src/core/loader/nax.hindex b3a50894fe..d7f70db431 100644--- a/src/core/loader/nax.h+++ b/src/core/loader/nax.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/nca.cpp b/src/core/loader/nca.cppindex 219bbeaf57..513af194d0 100644--- a/src/core/loader/nca.cpp+++ b/src/core/loader/nca.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <utility>diff --git a/src/core/loader/nca.h b/src/core/loader/nca.hindex c0db8c7405..d22d9146e2 100644--- a/src/core/loader/nca.h+++ b/src/core/loader/nca.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/nro.cpp b/src/core/loader/nro.cppindex 951ea966ea..1b0bb08760 100644--- a/src/core/loader/nro.cpp+++ b/src/core/loader/nro.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <utility>#include <vector>diff --git a/src/core/loader/nro.h b/src/core/loader/nro.hindex fd453b402c..ccb77b581a 100644--- a/src/core/loader/nro.h+++ b/src/core/loader/nro.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/nso.cpp b/src/core/loader/nso.cppindex 4a2224c029..8a938aa839 100644--- a/src/core/loader/nso.cpp+++ b/src/core/loader/nso.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cinttypes>#include <cstring>diff --git a/src/core/loader/nso.h b/src/core/loader/nso.hindex f7b61bc2d9..0b53b4ecd1 100644--- a/src/core/loader/nso.h+++ b/src/core/loader/nso.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/nsp.cpp b/src/core/loader/nsp.cppindex f7ccc678d3..80663e0e02 100644--- a/src/core/loader/nsp.cpp+++ b/src/core/loader/nsp.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <vector>diff --git a/src/core/loader/nsp.h b/src/core/loader/nsp.hindex 378e4077a4..003cc345c2 100644--- a/src/core/loader/nsp.h+++ b/src/core/loader/nsp.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/loader/xci.cpp b/src/core/loader/xci.cppindex 8c6c1a3fd2..c7b1b38152 100644--- a/src/core/loader/xci.cpp+++ b/src/core/loader/xci.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <vector>diff --git a/src/core/loader/xci.h b/src/core/loader/xci.hindex 6e3810e48f..2affb6c6e3 100644--- a/src/core/loader/xci.h+++ b/src/core/loader/xci.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/memory/cheat_engine.cpp b/src/core/memory/cheat_engine.cppindex 12446c9ac6..5f71f0ff51 100644--- a/src/core/memory/cheat_engine.cpp+++ b/src/core/memory/cheat_engine.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <locale>#include "common/hex_util.h"diff --git a/src/core/memory/cheat_engine.h b/src/core/memory/cheat_engine.hindex a8e041d9db..284abdd287 100644--- a/src/core/memory/cheat_engine.h+++ b/src/core/memory/cheat_engine.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/memory/dmnt_cheat_types.h b/src/core/memory/dmnt_cheat_types.hindex 5e60733dc7..c6b40e5051 100644--- a/src/core/memory/dmnt_cheat_types.h+++ b/src/core/memory/dmnt_cheat_types.h@@ -1,26 +1,5 @@-/*- * Copyright (c) 2018-2019 Atmosphère-NX- *- * This program is free software; you can redistribute it and/or modify it- * under the terms and conditions of the GNU General Public License,- * version 2, as published by the Free Software Foundation.- *- * This program is distributed in the hope it will be useful, but WITHOUT- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for- * more details.- *- * You should have received a copy of the GNU General Public License- * along with this program. If not, see <http://www.gnu.org/licenses/>.- */--/*- * Adapted by DarkLordZach for use/interaction with yuzu- *- * Modifications Copyright 2019 yuzu emulator team- * Licensed under GPLv2 or any later version- * Refer to the license.txt file included.- */+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/memory/dmnt_cheat_vm.cpp b/src/core/memory/dmnt_cheat_vm.cppindex dc04e37d2c..de96fcb8e4 100644--- a/src/core/memory/dmnt_cheat_vm.cpp+++ b/src/core/memory/dmnt_cheat_vm.cpp@@ -1,26 +1,5 @@-/*- * Copyright (c) 2018-2019 Atmosphère-NX- *- * This program is free software; you can redistribute it and/or modify it- * under the terms and conditions of the GNU General Public License,- * version 2, as published by the Free Software Foundation.- *- * This program is distributed in the hope it will be useful, but WITHOUT- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for- * more details.- *- * You should have received a copy of the GNU General Public License- * along with this program. If not, see <http://www.gnu.org/licenses/>.- */--/*- * Adapted by DarkLordZach for use/interaction with yuzu- *- * Modifications Copyright 2019 yuzu emulator team- * Licensed under GPLv2 or any later version- * Refer to the license.txt file included.- */+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/scope_exit.h"diff --git a/src/core/memory/dmnt_cheat_vm.h b/src/core/memory/dmnt_cheat_vm.hindex 707bee82bc..641cb09c46 100644--- a/src/core/memory/dmnt_cheat_vm.h+++ b/src/core/memory/dmnt_cheat_vm.h@@ -1,26 +1,5 @@-/*- * Copyright (c) 2018-2019 Atmosphère-NX- *- * This program is free software; you can redistribute it and/or modify it- * under the terms and conditions of the GNU General Public License,- * version 2, as published by the Free Software Foundation.- *- * This program is distributed in the hope it will be useful, but WITHOUT- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or- * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for- * more details.- *- * You should have received a copy of the GNU General Public License- * along with this program. If not, see <http://www.gnu.org/licenses/>.- */--/*- * Adapted by DarkLordZach for use/interaction with yuzu- *- * Modifications Copyright 2019 yuzu emulator team- * Licensed under GPLv2 or any later version- * Refer to the license.txt file included.- */+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/network/network.cpp b/src/core/network/network.cppindex 0784a165d7..fdafbea923 100644--- a/src/core/network/network.cpp+++ b/src/core/network/network.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/core/network/network.h b/src/core/network/network.hindex e85df3ab7f..10e5ef10d6 100644--- a/src/core/network/network.h+++ b/src/core/network/network.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/network/network_interface.cpp b/src/core/network/network_interface.cppindex 6811f21b14..15ecc6abf5 100644--- a/src/core/network/network_interface.cpp+++ b/src/core/network/network_interface.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <fstream>diff --git a/src/core/network/network_interface.h b/src/core/network/network_interface.hindex 980edb2f5c..9b98b6b420 100644--- a/src/core/network/network_interface.h+++ b/src/core/network/network_interface.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/network/sockets.h b/src/core/network/sockets.hindex caaefce7c7..f889159f5f 100644--- a/src/core/network/sockets.h+++ b/src/core/network/sockets.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/reporter.cpp b/src/core/reporter.cppindex 89faed6ee1..fa2729f543 100644--- a/src/core/reporter.cpp+++ b/src/core/reporter.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <ctime>#include <fstream>diff --git a/src/core/reporter.h b/src/core/reporter.hindex 6e9edeea30..a5386bc83b 100644--- a/src/core/reporter.h+++ b/src/core/reporter.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/core/tools/freezer.cpp b/src/core/tools/freezer.cppindex c81dc0e52c..7a0b73eca3 100644--- a/src/core/tools/freezer.cpp+++ b/src/core/tools/freezer.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/core/tools/freezer.h b/src/core/tools/freezer.hindex 067134e932..0d6df5217e 100644--- a/src/core/tools/freezer.h+++ b/src/core/tools/freezer.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/input_common/drivers/keyboard.cpp b/src/input_common/drivers/keyboard.cppindex 59e3d9cc03..71e612fbfb 100644--- a/src/input_common/drivers/keyboard.cpp+++ b/src/input_common/drivers/keyboard.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/param_package.h"#include "common/settings_input.h"diff --git a/src/input_common/drivers/keyboard.h b/src/input_common/drivers/keyboard.hindex 3856c882ce..62436dba4b 100644--- a/src/input_common/drivers/keyboard.h+++ b/src/input_common/drivers/keyboard.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/input_common/drivers/mouse.cpp b/src/input_common/drivers/mouse.cppindex 3c9a4e7475..4909fa8d7e 100644--- a/src/input_common/drivers/mouse.cpp+++ b/src/input_common/drivers/mouse.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <stop_token>#include <thread>diff --git a/src/input_common/drivers/mouse.h b/src/input_common/drivers/mouse.hindex c5833b8ede..286ce1cf6c 100644--- a/src/input_common/drivers/mouse.h+++ b/src/input_common/drivers/mouse.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/input_common/drivers/tas_input.cpp b/src/input_common/drivers/tas_input.cppindex 944e141bfe..66dbefe004 100644--- a/src/input_common/drivers/tas_input.cpp+++ b/src/input_common/drivers/tas_input.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2+-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later.#include <cstring>#include <fmt/format.h>diff --git a/src/input_common/drivers/tas_input.h b/src/input_common/drivers/tas_input.hindex 4b4e6c417f..38a27a2309 100644--- a/src/input_common/drivers/tas_input.h+++ b/src/input_common/drivers/tas_input.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/input_common/drivers/touch_screen.cpp b/src/input_common/drivers/touch_screen.cppindex 30c727df45..8acbe45844 100644--- a/src/input_common/drivers/touch_screen.cpp+++ b/src/input_common/drivers/touch_screen.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/param_package.h"#include "input_common/drivers/touch_screen.h"diff --git a/src/input_common/drivers/touch_screen.h b/src/input_common/drivers/touch_screen.hindex bf395c40b6..193478ead8 100644--- a/src/input_common/drivers/touch_screen.h+++ b/src/input_common/drivers/touch_screen.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/input_common/input_engine.cpp b/src/input_common/input_engine.cppindex a16cca33df..12214d1462 100644--- a/src/input_common/input_engine.cpp+++ b/src/input_common/input_engine.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "input_common/input_engine.h"diff --git a/src/input_common/input_engine.h b/src/input_common/input_engine.hindex f94b7669cb..13295bd493 100644--- a/src/input_common/input_engine.h+++ b/src/input_common/input_engine.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/input_common/input_mapping.cpp b/src/input_common/input_mapping.cppindex fb78093b8b..0fa4b1ddb0 100644--- a/src/input_common/input_mapping.cpp+++ b/src/input_common/input_mapping.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings.h"#include "input_common/input_engine.h"diff --git a/src/input_common/input_mapping.h b/src/input_common/input_mapping.hindex e0dfbc7ad1..79bd083e03 100644--- a/src/input_common/input_mapping.h+++ b/src/input_common/input_mapping.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/input_common/input_poller.cpp b/src/input_common/input_poller.cppindex 82b585ff21..99d6c3cd6e 100644--- a/src/input_common/input_poller.cpp+++ b/src/input_common/input_poller.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "common/input.h"diff --git a/src/input_common/input_poller.h b/src/input_common/input_poller.hindex 8a0977d58d..6ebe0dbf51 100644--- a/src/input_common/input_poller.h+++ b/src/input_common/input_poller.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/bindings.h b/src/shader_recompiler/backend/bindings.hindex 6697025538..b2598fd526 100644--- a/src/shader_recompiler/backend/bindings.h+++ b/src/shader_recompiler/backend/bindings.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glasm/emit_glasm.cpp b/src/shader_recompiler/backend/glasm/emit_glasm.cppindex 42eff443f6..97a6b383b4 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <string>diff --git a/src/shader_recompiler/backend/glasm/emit_glasm.h b/src/shader_recompiler/backend/glasm/emit_glasm.hindex 292655acb7..01a2efefff 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm.h+++ b/src/shader_recompiler/backend/glasm/emit_glasm.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glasm/emit_glasm_barriers.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_barriers.cppindex c0b97683eb..c42fa6cd16 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_barriers.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_barriers.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_bitwise_conversion.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_bitwise_conversion.cppindex 3bfcbbe654..2fc2a0ac6e 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_bitwise_conversion.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_bitwise_conversion.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_composite.cppindex babbe6654d..d508ee567b 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_composite.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cppindex 7434a1f92f..b5c08d6117 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_context_get_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cppindex 8a14fc8d92..078c75b20f 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_control_flow.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_convert.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_convert.cppindex 8603c6be29..473dc83642 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_convert.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_convert.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_floating_point.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_floating_point.cppindex e4b6b6f31c..e38ae49b0e 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_floating_point.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_floating_point.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_image.cppindex 237a5af3f4..a97b143e47 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_image.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <utility>diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.hindex 5efbe4e6fe..8b0ac30317 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h+++ b/src/shader_recompiler/backend/glasm/emit_glasm_instructions.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_integer.cppindex f698b8b9bd..528240f44a 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_integer.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_logical.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_logical.cppindex eed7bfec25..b0968c0eef 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_logical.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_logical.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_memory.cppindex 44b363b508..2705ab1404 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cppindex affe35be7c..7094d8e42d 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_not_implemented.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_select.cppindex dc441c56db..fcb3fe3cb9 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_select.cpp@@ -1,7 +1,6 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_shared_memory.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_shared_memory.cppindex 39e1c6c3aa..5c1a488a04 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_shared_memory.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_shared_memory.cpp@@ -1,7 +1,6 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_special.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_special.cppindex e7a5fb13ab..3689754927 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_special.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_special.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_undefined.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_undefined.cppindex 875e9d991c..69fec3ff75 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_undefined.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_undefined.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/emit_glasm_warp.cpp b/src/shader_recompiler/backend/glasm/emit_glasm_warp.cppindex 32e0dd9239..fb6a597d4e 100644--- a/src/shader_recompiler/backend/glasm/emit_glasm_warp.cpp+++ b/src/shader_recompiler/backend/glasm/emit_glasm_warp.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glasm/emit_glasm_instructions.h"#include "shader_recompiler/backend/glasm/glasm_emit_context.h"diff --git a/src/shader_recompiler/backend/glasm/glasm_emit_context.cpp b/src/shader_recompiler/backend/glasm/glasm_emit_context.cppindex af88b7dfa1..89603c1c45 100644--- a/src/shader_recompiler/backend/glasm/glasm_emit_context.cpp+++ b/src/shader_recompiler/backend/glasm/glasm_emit_context.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/bindings.h"#include "shader_recompiler/backend/glasm/emit_glasm.h"diff --git a/src/shader_recompiler/backend/glasm/glasm_emit_context.h b/src/shader_recompiler/backend/glasm/glasm_emit_context.hindex 8433e5c007..a81d64a9e4 100644--- a/src/shader_recompiler/backend/glasm/glasm_emit_context.h+++ b/src/shader_recompiler/backend/glasm/glasm_emit_context.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glasm/reg_alloc.cpp b/src/shader_recompiler/backend/glasm/reg_alloc.cppindex 4e98d3ea01..781803e550 100644--- a/src/shader_recompiler/backend/glasm/reg_alloc.cpp+++ b/src/shader_recompiler/backend/glasm/reg_alloc.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <fmt/format.h>diff --git a/src/shader_recompiler/backend/glasm/reg_alloc.h b/src/shader_recompiler/backend/glasm/reg_alloc.hindex 82aec66c64..bd6e2d929c 100644--- a/src/shader_recompiler/backend/glasm/reg_alloc.h+++ b/src/shader_recompiler/backend/glasm/reg_alloc.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glsl/emit_glsl.cpp b/src/shader_recompiler/backend/glsl/emit_glsl.cppindex b6b17a3306..76c18e4886 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <string>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl.h b/src/shader_recompiler/backend/glsl/emit_glsl.hindex 20e5719e6a..1c6d1472b5 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl.h+++ b/src/shader_recompiler/backend/glsl/emit_glsl.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cppindex a409a7ab37..911181c43b 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_atomic.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_barriers.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_barriers.cppindex 0f204495c3..2cf6140456 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_barriers.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_barriers.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_bitwise_conversion.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_bitwise_conversion.cppindex e0ead7a539..1be4a0f592 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_bitwise_conversion.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_bitwise_conversion.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_composite.cppindex 98cc57e585..14bc824be6 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_composite.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cppindex 282668b363..fad8d1e304 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_context_get_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_control_flow.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_control_flow.cppindex 6f61560f11..91a0874877 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_control_flow.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_control_flow.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_convert.cppindex ce6ea1bb70..aeacb5a64c 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_convert.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cppindex 474189d875..882a48c430 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_floating_point.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_image.cppindex fae2e397ae..6af7e3fe6a 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_image.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.hindex 704baddc9a..639691ba67 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h+++ b/src/shader_recompiler/backend/glsl/emit_glsl_instructions.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_integer.cppindex 64322cdbf4..49397c9b2e 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_integer.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_logical.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_logical.cppindex 162a8c461d..97d5bd9bd5 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_logical.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_logical.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_memory.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_memory.cppindex 9fd41b4fdf..28bd3f5b34 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_memory.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cppindex 4ebdfb3bc0..b03a8ba1e5 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_not_implemented.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_select.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_select.cppindex b1e486e5f8..d570f23289 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_select.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_select.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_shared_memory.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_shared_memory.cppindex f8aa4ecd68..5095f5a298 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_shared_memory.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_shared_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_special.cppindex 8b94ea90a7..67a54a84ff 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_special.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_undefined.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_undefined.cppindex 9367524e88..5f6edcf021 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_undefined.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_undefined.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/glsl/emit_glsl_instructions.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp b/src/shader_recompiler/backend/glsl/emit_glsl_warp.cppindex 6e01979b4c..1245c9429f 100644--- a/src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp+++ b/src/shader_recompiler/backend/glsl/emit_glsl_warp.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp b/src/shader_recompiler/backend/glsl/glsl_emit_context.cppindex 17266f40d3..221b063280 100644--- a/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp+++ b/src/shader_recompiler/backend/glsl/glsl_emit_context.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/bindings.h"#include "shader_recompiler/backend/glsl/glsl_emit_context.h"diff --git a/src/shader_recompiler/backend/glsl/glsl_emit_context.h b/src/shader_recompiler/backend/glsl/glsl_emit_context.hindex 2b13db6e65..dfd10ac281 100644--- a/src/shader_recompiler/backend/glsl/glsl_emit_context.h+++ b/src/shader_recompiler/backend/glsl/glsl_emit_context.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/glsl/var_alloc.cpp b/src/shader_recompiler/backend/glsl/var_alloc.cppindex be0a695c00..8b7da539ae 100644--- a/src/shader_recompiler/backend/glsl/var_alloc.cpp+++ b/src/shader_recompiler/backend/glsl/var_alloc.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string>#include <string_view>diff --git a/src/shader_recompiler/backend/glsl/var_alloc.h b/src/shader_recompiler/backend/glsl/var_alloc.hindex 8b49f32a69..c571473ed7 100644--- a/src/shader_recompiler/backend/glsl/var_alloc.h+++ b/src/shader_recompiler/backend/glsl/var_alloc.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/spirv/emit_spirv.cpp b/src/shader_recompiler/backend/spirv/emit_spirv.cppindex 08b3a81ce3..265ac9c858 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <span>#include <tuple>diff --git a/src/shader_recompiler/backend/spirv/emit_spirv.h b/src/shader_recompiler/backend/spirv/emit_spirv.hindex 2b360e0739..7567b6fc96 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv.h+++ b/src/shader_recompiler/backend/spirv/emit_spirv.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cppindex cb47d253ce..4b3043b657 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_atomic.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <bit>diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_barriers.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_barriers.cppindex 6ecaa39374..0b9a3664ff 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_barriers.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_barriers.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cppindex 831c6f158d..c4ca28d11a 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_bitwise_conversion.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_composite.cppindex 812c3668d4..e757e9aedc 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_composite.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cppindex aa70829781..2c68aba392 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_context_get_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <bit>#include <tuple>diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_control_flow.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_control_flow.cppindex d1afd47b84..7ad0b08ac3 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_control_flow.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_control_flow.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_convert.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_convert.cppindex 137a0e2570..a88f1b7c40 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_convert.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_convert.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cppindex 9f65fa269c..c740c96fb3 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_floating_point.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_image.cppindex d18d5f1d52..d8d86c91a4 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_image.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <boost/container/static_vector.hpp>diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cppindex 727ac2027f..2a12feddc8 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_image_atomic.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.hindex f263b41b01..984d072b4a 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h+++ b/src/shader_recompiler/backend/spirv/emit_spirv_instructions.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_integer.cppindex 45a384e464..960bdea6f1 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_integer.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_logical.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_logical.cppindex 74b6efe016..c38427c933 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_logical.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_logical.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_memory.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_memory.cppindex 175f4be19d..8693801c70 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_memory.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <bit>diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_select.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_select.cppindex ce55cd31c9..68e5b1c8ee 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_select.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_select.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_shared_memory.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_shared_memory.cppindex b57c66828b..df05dad74a 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_shared_memory.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_shared_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_special.cppindex d96a175832..00be1f1276 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_special.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv.h"#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_undefined.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_undefined.cppindex 00c6e86e24..0649290b0e 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_undefined.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_undefined.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp b/src/shader_recompiler/backend/spirv/emit_spirv_warp.cppindex 905c735ad2..7cbbbfaa68 100644--- a/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp+++ b/src/shader_recompiler/backend/spirv/emit_spirv_warp.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/backend/spirv/emit_spirv_instructions.h"#include "shader_recompiler/backend/spirv/spirv_emit_context.h"diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp b/src/shader_recompiler/backend/spirv/spirv_emit_context.cppindex 9c83cd2e4f..d4a49ea991 100644--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/shader_recompiler/backend/spirv/spirv_emit_context.h b/src/shader_recompiler/backend/spirv/spirv_emit_context.hindex b9115a405b..bc25b8b844 100644--- a/src/shader_recompiler/backend/spirv/spirv_emit_context.h+++ b/src/shader_recompiler/backend/spirv/spirv_emit_context.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/environment.h b/src/shader_recompiler/environment.hindex db16429d46..9729d48c65 100644--- a/src/shader_recompiler/environment.h+++ b/src/shader_recompiler/environment.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/exception.h b/src/shader_recompiler/exception.hindex a6aecde3e1..322fce6579 100644--- a/src/shader_recompiler/exception.h+++ b/src/shader_recompiler/exception.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/abstract_syntax_list.h b/src/shader_recompiler/frontend/ir/abstract_syntax_list.hindex b61773487a..7edf21e8ab 100644--- a/src/shader_recompiler/frontend/ir/abstract_syntax_list.h+++ b/src/shader_recompiler/frontend/ir/abstract_syntax_list.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/attribute.cpp b/src/shader_recompiler/frontend/ir/attribute.cppindex 4d0b8b8e5c..7d3d882e44 100644--- a/src/shader_recompiler/frontend/ir/attribute.cpp+++ b/src/shader_recompiler/frontend/ir/attribute.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <fmt/format.h>diff --git a/src/shader_recompiler/frontend/ir/attribute.h b/src/shader_recompiler/frontend/ir/attribute.hindex 3bbd38a03d..6ee3947b12 100644--- a/src/shader_recompiler/frontend/ir/attribute.h+++ b/src/shader_recompiler/frontend/ir/attribute.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/basic_block.cpp b/src/shader_recompiler/frontend/ir/basic_block.cppindex a1472cb763..14293770ed 100644--- a/src/shader_recompiler/frontend/ir/basic_block.cpp+++ b/src/shader_recompiler/frontend/ir/basic_block.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <initializer_list>diff --git a/src/shader_recompiler/frontend/ir/basic_block.h b/src/shader_recompiler/frontend/ir/basic_block.hindex fbfe98266a..c9d83661a4 100644--- a/src/shader_recompiler/frontend/ir/basic_block.h+++ b/src/shader_recompiler/frontend/ir/basic_block.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/breadth_first_search.h b/src/shader_recompiler/frontend/ir/breadth_first_search.hindex a52ccbd58b..ec55425549 100644--- a/src/shader_recompiler/frontend/ir/breadth_first_search.h+++ b/src/shader_recompiler/frontend/ir/breadth_first_search.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/condition.cpp b/src/shader_recompiler/frontend/ir/condition.cppindex fc18ea2a2f..fb6b141d34 100644--- a/src/shader_recompiler/frontend/ir/condition.cpp+++ b/src/shader_recompiler/frontend/ir/condition.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string>diff --git a/src/shader_recompiler/frontend/ir/condition.h b/src/shader_recompiler/frontend/ir/condition.hindex 2f8c10e717..1cad46b9b9 100644--- a/src/shader_recompiler/frontend/ir/condition.h+++ b/src/shader_recompiler/frontend/ir/condition.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/flow_test.cpp b/src/shader_recompiler/frontend/ir/flow_test.cppindex 6ebb4ad893..a859efddeb 100644--- a/src/shader_recompiler/frontend/ir/flow_test.cpp+++ b/src/shader_recompiler/frontend/ir/flow_test.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string>diff --git a/src/shader_recompiler/frontend/ir/flow_test.h b/src/shader_recompiler/frontend/ir/flow_test.hindex 09e113773d..88f7c9e82e 100644--- a/src/shader_recompiler/frontend/ir/flow_test.h+++ b/src/shader_recompiler/frontend/ir/flow_test.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cppindex 356f889acb..d2b658bca7 100644--- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp+++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_cast.h"#include "shader_recompiler/frontend/ir/ir_emitter.h"diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.h b/src/shader_recompiler/frontend/ir/ir_emitter.hindex 13eefa88b7..c29bda558f 100644--- a/src/shader_recompiler/frontend/ir/ir_emitter.h+++ b/src/shader_recompiler/frontend/ir/ir_emitter.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/microinstruction.cpp b/src/shader_recompiler/frontend/ir/microinstruction.cppindex 4a2564f472..468782eb17 100644--- a/src/shader_recompiler/frontend/ir/microinstruction.cpp+++ b/src/shader_recompiler/frontend/ir/microinstruction.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <memory>diff --git a/src/shader_recompiler/frontend/ir/modifiers.h b/src/shader_recompiler/frontend/ir/modifiers.hindex 77cda1f8a2..69035d4626 100644--- a/src/shader_recompiler/frontend/ir/modifiers.h+++ b/src/shader_recompiler/frontend/ir/modifiers.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/opcodes.cpp b/src/shader_recompiler/frontend/ir/opcodes.cppindex 5baa6792f8..9e4d9e65a8 100644--- a/src/shader_recompiler/frontend/ir/opcodes.cpp+++ b/src/shader_recompiler/frontend/ir/opcodes.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/ir/opcodes.h"diff --git a/src/shader_recompiler/frontend/ir/opcodes.h b/src/shader_recompiler/frontend/ir/opcodes.hindex 85f7aac02e..d17dc0376b 100644--- a/src/shader_recompiler/frontend/ir/opcodes.h+++ b/src/shader_recompiler/frontend/ir/opcodes.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/opcodes.inc b/src/shader_recompiler/frontend/ir/opcodes.incindex efb6bfac32..86410ddfc2 100644--- a/src/shader_recompiler/frontend/ir/opcodes.inc+++ b/src/shader_recompiler/frontend/ir/opcodes.inc@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// opcode name, return type, arg1 type, arg2 type, arg3 type, arg4 type, arg4 type, ...OPCODE(Phi, Opaque, )diff --git a/src/shader_recompiler/frontend/ir/patch.cpp b/src/shader_recompiler/frontend/ir/patch.cppindex 4c956a970b..b0707d85a9 100644--- a/src/shader_recompiler/frontend/ir/patch.cpp+++ b/src/shader_recompiler/frontend/ir/patch.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/exception.h"#include "shader_recompiler/frontend/ir/patch.h"diff --git a/src/shader_recompiler/frontend/ir/patch.h b/src/shader_recompiler/frontend/ir/patch.hindex 6d66ff0d6c..1e37c8eb6b 100644--- a/src/shader_recompiler/frontend/ir/patch.h+++ b/src/shader_recompiler/frontend/ir/patch.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/post_order.cpp b/src/shader_recompiler/frontend/ir/post_order.cppindex 16bc441018..f526615fc4 100644--- a/src/shader_recompiler/frontend/ir/post_order.cpp+++ b/src/shader_recompiler/frontend/ir/post_order.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/shader_recompiler/frontend/ir/post_order.h b/src/shader_recompiler/frontend/ir/post_order.hindex 07bfbadc34..d93071b075 100644--- a/src/shader_recompiler/frontend/ir/post_order.h+++ b/src/shader_recompiler/frontend/ir/post_order.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/pred.h b/src/shader_recompiler/frontend/ir/pred.hindex 4e7f32423a..a77c1e2a7a 100644--- a/src/shader_recompiler/frontend/ir/pred.h+++ b/src/shader_recompiler/frontend/ir/pred.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/program.cpp b/src/shader_recompiler/frontend/ir/program.cppindex 3fc06f8551..bda56ff461 100644--- a/src/shader_recompiler/frontend/ir/program.cpp+++ b/src/shader_recompiler/frontend/ir/program.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <map>#include <string>diff --git a/src/shader_recompiler/frontend/ir/program.h b/src/shader_recompiler/frontend/ir/program.hindex ebcaa8bc2d..6b4a05c598 100644--- a/src/shader_recompiler/frontend/ir/program.h+++ b/src/shader_recompiler/frontend/ir/program.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/reg.h b/src/shader_recompiler/frontend/ir/reg.hindex a4b6357929..f7cb716a97 100644--- a/src/shader_recompiler/frontend/ir/reg.h+++ b/src/shader_recompiler/frontend/ir/reg.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/type.cpp b/src/shader_recompiler/frontend/ir/type.cppindex f28341bfe7..32657cb05b 100644--- a/src/shader_recompiler/frontend/ir/type.cpp+++ b/src/shader_recompiler/frontend/ir/type.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <string>diff --git a/src/shader_recompiler/frontend/ir/type.h b/src/shader_recompiler/frontend/ir/type.hindex 294b230c49..04c8c4ddbe 100644--- a/src/shader_recompiler/frontend/ir/type.h+++ b/src/shader_recompiler/frontend/ir/type.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/ir/value.cpp b/src/shader_recompiler/frontend/ir/value.cppindex 0248d9c6e6..3461693283 100644--- a/src/shader_recompiler/frontend/ir/value.cpp+++ b/src/shader_recompiler/frontend/ir/value.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/ir/value.h"diff --git a/src/shader_recompiler/frontend/ir/value.h b/src/shader_recompiler/frontend/ir/value.hindex 14f6e55bc6..1a2e4ccb61 100644--- a/src/shader_recompiler/frontend/ir/value.h+++ b/src/shader_recompiler/frontend/ir/value.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/control_flow.cpp b/src/shader_recompiler/frontend/maxwell/control_flow.cppindex efe457baa3..6939692cdd 100644--- a/src/shader_recompiler/frontend/maxwell/control_flow.cpp+++ b/src/shader_recompiler/frontend/maxwell/control_flow.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/shader_recompiler/frontend/maxwell/control_flow.h b/src/shader_recompiler/frontend/maxwell/control_flow.hindex 7e91fac465..2487b9b0b6 100644--- a/src/shader_recompiler/frontend/maxwell/control_flow.h+++ b/src/shader_recompiler/frontend/maxwell/control_flow.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/decode.cpp b/src/shader_recompiler/frontend/maxwell/decode.cppindex e688e648bf..455c91470d 100644--- a/src/shader_recompiler/frontend/maxwell/decode.cpp+++ b/src/shader_recompiler/frontend/maxwell/decode.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/shader_recompiler/frontend/maxwell/decode.h b/src/shader_recompiler/frontend/maxwell/decode.hindex b4f080fd7e..fc2fc016a5 100644--- a/src/shader_recompiler/frontend/maxwell/decode.h+++ b/src/shader_recompiler/frontend/maxwell/decode.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.cpp b/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.cppindex 008625cb37..712aefaa0e 100644--- a/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.cpp+++ b/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <optional>diff --git a/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.h b/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.hindex 2a23f7abfd..9a3afd19c6 100644--- a/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.h+++ b/src/shader_recompiler/frontend/maxwell/indirect_branch_table_track.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/instruction.h b/src/shader_recompiler/frontend/maxwell/instruction.hindex 57fd531f2b..d86c8cd349 100644--- a/src/shader_recompiler/frontend/maxwell/instruction.h+++ b/src/shader_recompiler/frontend/maxwell/instruction.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/location.h b/src/shader_recompiler/frontend/maxwell/location.hindex 17107f0822..0c0477e2db 100644--- a/src/shader_recompiler/frontend/maxwell/location.h+++ b/src/shader_recompiler/frontend/maxwell/location.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/maxwell.inc b/src/shader_recompiler/frontend/maxwell/maxwell.incindex 2fee591bbb..495b3e9f1c 100644--- a/src/shader_recompiler/frontend/maxwell/maxwell.inc+++ b/src/shader_recompiler/frontend/maxwell/maxwell.inc@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-laterINST(AL2P, "AL2P", "1110 1111 1010 0---")INST(ALD, "ALD", "1110 1111 1101 1---")diff --git a/src/shader_recompiler/frontend/maxwell/opcodes.cpp b/src/shader_recompiler/frontend/maxwell/opcodes.cppindex ccc40c20c1..2d5c4d79e6 100644--- a/src/shader_recompiler/frontend/maxwell/opcodes.cpp+++ b/src/shader_recompiler/frontend/maxwell/opcodes.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>diff --git a/src/shader_recompiler/frontend/maxwell/opcodes.h b/src/shader_recompiler/frontend/maxwell/opcodes.hindex cd574f29d0..83093fca08 100644--- a/src/shader_recompiler/frontend/maxwell/opcodes.h+++ b/src/shader_recompiler/frontend/maxwell/opcodes.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cppindex 7bad628aad..3dc7c9a114 100644--- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp+++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <memory>diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.h b/src/shader_recompiler/frontend/maxwell/structured_control_flow.hindex e38158da33..15c1185ede 100644--- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.h+++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cppindex d9f999e054..a6be7c97eb 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_global_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_shared_memory.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_shared_memory.cppindex 8b974621e9..5ce9112478 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_shared_memory.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/atomic_operations_shared_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/attribute_memory_to_physical.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/attribute_memory_to_physical.cppindex d26d0982b6..f6ff160c9b 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/attribute_memory_to_physical.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/attribute_memory_to_physical.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/barrier_operations.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/barrier_operations.cppindex d92d4e929c..fb5368c7bb 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/barrier_operations.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/barrier_operations.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cppindex 9d5a87e52d..8d8a90c9b9 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_extract.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_insert.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_insert.cppindex 1e1ec21199..e03ccc1ad9 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_insert.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/bitfield_insert.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/branch_indirect.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/branch_indirect.cppindex 371c0e0f74..50aa160491 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/branch_indirect.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/branch_indirect.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/common_encoding.h b/src/shader_recompiler/frontend/maxwell/translate/impl/common_encoding.hindex fd73f656c5..b43bb01b8b 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/common_encoding.h+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/common_encoding.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.cppindex 20458d2ad6..3fd2c616db 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.hindex 24f041a4f1..25b7e12e6f 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/condition_code_set.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/condition_code_set.cppindex 420f2fb94c..4bf151499e 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/condition_code_set.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/condition_code_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cppindex 5a1b3a8fcb..b24ac80e01 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_compare_and_set.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_compare_and_set.cppindex 1173192e49..6f040c45c8 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_compare_and_set.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_compare_and_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_fused_multiply_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_fused_multiply_add.cppindex f660970140..b43a3a2e65 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_fused_multiply_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_fused_multiply_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cppindex 6b551847cd..59a138eef0 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_min_max.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cppindex c0159fb65d..a3dcdb6d7f 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_multiply.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/double_set_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/double_set_predicate.cppindex b8e74ee44c..24859f5b82 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/double_set_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/double_set_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cppindex 62d20ebe43..c1179d9aa5 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/exit_program.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/frontend/maxwell/translate/impl/impl.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/find_leading_one.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/find_leading_one.cppindex f0cb25d61f..a920bfcb2b 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/find_leading_one.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/find_leading_one.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cppindex b8c89810cb..7350b6a820 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cppindex 7127ebf542..b26a687669 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare_and_set.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare_and_set.cppindex eece4f28f4..8f253ff6e2 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare_and_set.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_compare_and_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_floating_point.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_floating_point.cppindex 02ab023c19..7f3dccc526 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_floating_point.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_floating_point.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/common_encoding.h"#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cppindex 92b1ce015a..4942878b94 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_conversion_integer.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <limits>diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_fused_multiply_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_fused_multiply_add.cppindex fa2a7807b7..fb9f40b82d 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_fused_multiply_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_fused_multiply_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cppindex c0d6ee5af9..125ade7695 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_min_max.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multi_function.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multi_function.cppindex bb85124006..64b213ebf5 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multi_function.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multi_function.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multiply.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multiply.cppindex 06226b7ce2..fc8c7174bb 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multiply.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_multiply.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_range_reduction.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_range_reduction.cppindex f91b93fad1..96e3e68e07 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_range_reduction.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_range_reduction.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_set_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_set_predicate.cppindex 5f93a15130..cbdaafc7be 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_set_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_set_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cppindex 7550a8d4c4..ef4ffa54b1 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/floating_point_swizzled_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_add.cppindex f2738a93b2..3e810b67fc 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_fused_multiply_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_fused_multiply_add.cppindex fd79867016..a75a2d84bd 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_fused_multiply_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_fused_multiply_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.cppindex 0dbeb7f564..014217ece1 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.hindex c5e80a559c..3283b85bdc 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_multiply.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_multiply.cppindex 3f548ce761..c83b5649aa 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_multiply.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_multiply.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cppindex 01bc9c49f8..c3080da258 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h"#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set_predicate.cppindex 2b9c4fc0fa..a08979e8d6 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_set_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/maxwell/translate/impl/common_funcs.h"#include "shader_recompiler/frontend/maxwell/translate/impl/half_floating_point_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cppindex b446aae0e5..b0ebc75f7d 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "shader_recompiler/frontend/ir/ir_emitter.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.hindex 335e4f24fc..adf7cad068 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/impl.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add.cppindex 8ffd84867d..49f70451a6 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add_three_input.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add_three_input.cppindex 040cfc10fa..3d9877359b 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add_three_input.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_add_three_input.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare.cppindex ba6e019266..ac1b405c57 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare_and_set.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare_and_set.cppindex 8ce1aee04b..a708f8b914 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare_and_set.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_compare_and_set.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_floating_point_conversion.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_floating_point_conversion.cppindex 0b8119ddd5..a2dc0f4a6e 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_floating_point_conversion.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_floating_point_conversion.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cppindex 5feefc0ce3..442365a268 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_funnel_shift.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cppindex 1badbacc40..c3f6b0b7d5 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_minimum_maximum.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_popcount.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_popcount.cppindex 5ece7678de..2a535f3879 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_popcount.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_popcount.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cppindex 044671943e..4a3f0772f2 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_scaled_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_set_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_set_predicate.cppindex bee10e5b9e..c5d5221a0a 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_set_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_set_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cppindex 20af68852a..5779cfbdd2 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_left.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_right.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_right.cppindex be00bb605b..2dccd2ca6d 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_right.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_shift_right.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_short_multiply_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_short_multiply_add.cppindex 2932cdc42f..a96f8707e0 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_short_multiply_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_short_multiply_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cppindex 53e8d89232..7484621d08 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/integer_to_integer_conversion.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/internal_stage_buffer_entry_read.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/internal_stage_buffer_entry_read.cppindex 9b85f80595..7025f14a2f 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/internal_stage_buffer_entry_read.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/internal_stage_buffer_entry_read.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.cppindex 8007a4d469..7e12c089b4 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.h b/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.hindex 3074ea0e3d..0df13b7c87 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.h+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_constant.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_effective_address.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/load_effective_address.cppindex 4a0f04e471..8361c8ab1b 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_effective_address.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_effective_address.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_attribute.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_attribute.cppindex 00d1d84382..e3745ce084 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_attribute.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_attribute.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_local_shared.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_local_shared.cppindex d2a1dbf616..a198b2b760 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_local_shared.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_local_shared.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cppindex 4792cd4a5d..8f2cf897d4 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/load_store_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation.cppindex 92cd27ed48..4e0ff897c2 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation_three_input.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation_three_input.cppindex f3c7ceb57f..a4ec25844f 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation_three_input.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/logic_operation_three_input.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_predicate_to_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_predicate_to_register.cppindex 4324fd443c..37586a65d5 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_predicate_to_register.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_predicate_to_register.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cppindex c317e14c97..82aec3b736 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register_to_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register_to_predicate.cppindex eda5f177b6..2369e4cf63 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_register_to_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_register_to_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cppindex 20cb2674ee..52be12f9c5 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/move_special_register.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cppindex 7e26ab3594..2f930f1ea4 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/not_implemented.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/output_geometry.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/output_geometry.cppindex 01cfad88de..b4b7925c94 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/output_geometry.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/output_geometry.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/pixel_load.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/pixel_load.cppindex b4767afb52..f8607c3d77 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/pixel_load.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/pixel_load.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_predicate.cppindex 75d1fa8c1b..3b7d539536 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_register.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_register.cppindex b027898742..cd1179c7d1 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_register.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/predicate_set_register.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/select_source_with_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/select_source_with_predicate.cppindex 93baa75a96..992d6d1afd 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/select_source_with_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/select_source_with_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/surface_atomic_operations.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/surface_atomic_operations.cppindex 100c94c197..8ec90f52ed 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/surface_atomic_operations.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/surface_atomic_operations.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/surface_load_store.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/surface_load_store.cppindex 681220a8d5..c01ab361b7 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/surface_load_store.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/surface_load_store.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <bit>diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cppindex 0046b5edde..2459fc30d9 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <optional>diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch_swizzled.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch_swizzled.cppindex 00dbcd86f8..50e618c2f1 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch_swizzled.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_fetch_swizzled.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather.cppindex 959c63ba93..3263b3c7c9 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather_swizzled.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather_swizzled.cppindex 86e68a830f..e4c6581450 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather_swizzled.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gather_swizzled.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gradient.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gradient.cppindex 6f4feff114..dd34507bca 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gradient.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_gradient.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load.cppindex 60732215b5..0a7821e188 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load_swizzled.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load_swizzled.cppindex 5dd7e31b20..0362f076af 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load_swizzled.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_load_swizzled.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cppindex f89ce1b688..639da1e9c1 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_mipmap_level.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cppindex 72131301ce..f8cfd4ab64 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/texture_query.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <optional>diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.cppindex e1f4174cf6..7d7444aff0 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/exception.h"#include "shader_recompiler/frontend/maxwell/translate/impl/video_helper.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.h b/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.hindex 40c0b907cb..cbf253b6f8 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.h+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/video_helper.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/video_minimum_maximum.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/video_minimum_maximum.cppindex 4851b0b8d3..5ac25beee8 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/video_minimum_maximum.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/video_minimum_maximum.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/video_multiply_add.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/video_multiply_add.cppindex cc2e6d6e65..9272a6d037 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/video_multiply_add.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/video_multiply_add.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/video_set_predicate.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/video_set_predicate.cppindex 1b66abc33a..73db353042 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/video_set_predicate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/video_set_predicate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "shader_recompiler/exception.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cppindex 7ce370f09c..70e490e808 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/vote.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/impl/warp_shuffle.cpp b/src/shader_recompiler/frontend/maxwell/translate/impl/warp_shuffle.cppindex f98f669403..f0436994b2 100644--- a/src/shader_recompiler/frontend/maxwell/translate/impl/warp_shuffle.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/impl/warp_shuffle.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/bit_field.h"#include "common/common_types.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/translate.cpp b/src/shader_recompiler/frontend/maxwell/translate/translate.cppindex 8e3c4c5d5c..6d68448269 100644--- a/src/shader_recompiler/frontend/maxwell/translate/translate.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate/translate.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/environment.h"#include "shader_recompiler/frontend/ir/basic_block.h"diff --git a/src/shader_recompiler/frontend/maxwell/translate/translate.h b/src/shader_recompiler/frontend/maxwell/translate/translate.hindex a3edd2e466..2f98f0ec17 100644--- a/src/shader_recompiler/frontend/maxwell/translate/translate.h+++ b/src/shader_recompiler/frontend/maxwell/translate/translate.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/frontend/maxwell/translate_program.cpp b/src/shader_recompiler/frontend/maxwell/translate_program.cppindex b22725584d..77efb4f577 100644--- a/src/shader_recompiler/frontend/maxwell/translate_program.cpp+++ b/src/shader_recompiler/frontend/maxwell/translate_program.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <memory>diff --git a/src/shader_recompiler/frontend/maxwell/translate_program.h b/src/shader_recompiler/frontend/maxwell/translate_program.hindex 7b024c6275..02ede8c9ca 100644--- a/src/shader_recompiler/frontend/maxwell/translate_program.h+++ b/src/shader_recompiler/frontend/maxwell/translate_program.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/host_translate_info.h b/src/shader_recompiler/host_translate_info.hindex 96468b2e79..881874310a 100644--- a/src/shader_recompiler/host_translate_info.h+++ b/src/shader_recompiler/host_translate_info.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cppindex 16278faab4..7cff8ecdc4 100644--- a/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp+++ b/src/shader_recompiler/ir_opt/collect_shader_info_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/alignment.h"#include "shader_recompiler/environment.h"diff --git a/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp b/src/shader_recompiler/ir_opt/constant_propagation_pass.cppindex 2a14e7f12e..826f9a54a5 100644--- a/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp+++ b/src/shader_recompiler/ir_opt/constant_propagation_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <functional>diff --git a/src/shader_recompiler/ir_opt/dead_code_elimination_pass.cpp b/src/shader_recompiler/ir_opt/dead_code_elimination_pass.cppindex 6697fde850..9a7d47344d 100644--- a/src/shader_recompiler/ir_opt/dead_code_elimination_pass.cpp+++ b/src/shader_recompiler/ir_opt/dead_code_elimination_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/shader_recompiler/ir_opt/dual_vertex_pass.cpp b/src/shader_recompiler/ir_opt/dual_vertex_pass.cppindex 055ba9c54d..900f6f9fdb 100644--- a/src/shader_recompiler/ir_opt/dual_vertex_pass.cpp+++ b/src/shader_recompiler/ir_opt/dual_vertex_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/ir/ir_emitter.h"#include "shader_recompiler/ir_opt/passes.h"diff --git a/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp b/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cppindex 3cc1cc07a5..336338e628 100644--- a/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp+++ b/src/shader_recompiler/ir_opt/global_memory_to_storage_buffer_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <optional>diff --git a/src/shader_recompiler/ir_opt/identity_removal_pass.cpp b/src/shader_recompiler/ir_opt/identity_removal_pass.cppindex e9b55f8358..951534bbf2 100644--- a/src/shader_recompiler/ir_opt/identity_removal_pass.cpp+++ b/src/shader_recompiler/ir_opt/identity_removal_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <vector>diff --git a/src/shader_recompiler/ir_opt/lower_fp16_to_fp32.cpp b/src/shader_recompiler/ir_opt/lower_fp16_to_fp32.cppindex 622f94fc7d..71e12b3e4d 100644--- a/src/shader_recompiler/ir_opt/lower_fp16_to_fp32.cpp+++ b/src/shader_recompiler/ir_opt/lower_fp16_to_fp32.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "shader_recompiler/frontend/ir/value.h"#include "shader_recompiler/ir_opt/passes.h"diff --git a/src/shader_recompiler/ir_opt/lower_int64_to_int32.cpp b/src/shader_recompiler/ir_opt/lower_int64_to_int32.cppindex c2654cd9b6..cdb58f46b3 100644--- a/src/shader_recompiler/ir_opt/lower_int64_to_int32.cpp+++ b/src/shader_recompiler/ir_opt/lower_int64_to_int32.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <utility>diff --git a/src/shader_recompiler/ir_opt/passes.h b/src/shader_recompiler/ir_opt/passes.hindex 16ea3d80a2..6ff8e42666 100644--- a/src/shader_recompiler/ir_opt/passes.h+++ b/src/shader_recompiler/ir_opt/passes.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/ir_opt/rescaling_pass.cpp b/src/shader_recompiler/ir_opt/rescaling_pass.cppindex 75679c7931..0d5f2e4d89 100644--- a/src/shader_recompiler/ir_opt/rescaling_pass.cpp+++ b/src/shader_recompiler/ir_opt/rescaling_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings.h"#include "shader_recompiler/environment.h"diff --git a/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp b/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cppindex 928557acb7..d0b1458600 100644--- a/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp+++ b/src/shader_recompiler/ir_opt/ssa_rewrite_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// This file implements the SSA rewriting algorithm proposed in//diff --git a/src/shader_recompiler/ir_opt/texture_pass.cpp b/src/shader_recompiler/ir_opt/texture_pass.cppindex 96c997a580..ca3e306e8e 100644--- a/src/shader_recompiler/ir_opt/texture_pass.cpp+++ b/src/shader_recompiler/ir_opt/texture_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <bit>diff --git a/src/shader_recompiler/ir_opt/verification_pass.cpp b/src/shader_recompiler/ir_opt/verification_pass.cppindex 975d5aadf5..e2ef2b0b33 100644--- a/src/shader_recompiler/ir_opt/verification_pass.cpp+++ b/src/shader_recompiler/ir_opt/verification_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <map>#include <set>diff --git a/src/shader_recompiler/object_pool.h b/src/shader_recompiler/object_pool.hindex a12ddcc8fc..2b42c4ba2a 100644--- a/src/shader_recompiler/object_pool.h+++ b/src/shader_recompiler/object_pool.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/profile.h b/src/shader_recompiler/profile.hindex dc4c806ff4..21d3d236b7 100644--- a/src/shader_recompiler/profile.h+++ b/src/shader_recompiler/profile.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/program_header.h b/src/shader_recompiler/program_header.hindex 0cd6597efe..1e8bae7cda 100644--- a/src/shader_recompiler/program_header.h+++ b/src/shader_recompiler/program_header.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/runtime_info.h b/src/shader_recompiler/runtime_info.hindex 722e9d729a..dcb5ab158d 100644--- a/src/shader_recompiler/runtime_info.h+++ b/src/shader_recompiler/runtime_info.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/shader_info.h b/src/shader_recompiler/shader_info.hindex a3a09c71c9..fd2ef53368 100644--- a/src/shader_recompiler/shader_info.h+++ b/src/shader_recompiler/shader_info.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/stage.h b/src/shader_recompiler/stage.hindex 5c1c8d8fc4..9af0a1b720 100644--- a/src/shader_recompiler/stage.h+++ b/src/shader_recompiler/stage.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/shader_recompiler/varying_state.h b/src/shader_recompiler/varying_state.hindex bc4f273c8d..7b28a285f9 100644--- a/src/shader_recompiler/varying_state.h+++ b/src/shader_recompiler/varying_state.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/tests/common/cityhash.cpp b/src/tests/common/cityhash.cppindex 7a40b6c4ae..05942eadb4 100644--- a/src/tests/common/cityhash.cpp+++ b/src/tests/common/cityhash.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <catch2/catch.hpp>diff --git a/src/tests/common/fibers.cpp b/src/tests/common/fibers.cppindex 751cbe196d..cfc84d423a 100644--- a/src/tests/common/fibers.cpp+++ b/src/tests/common/fibers.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <atomic>#include <cstdlib>diff --git a/src/tests/common/host_memory.cpp b/src/tests/common/host_memory.cppindex 2dc7b5d5e7..e49d0a09fb 100644--- a/src/tests/common/host_memory.cpp+++ b/src/tests/common/host_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <catch2/catch.hpp>diff --git a/src/tests/common/ring_buffer.cpp b/src/tests/common/ring_buffer.cppindex 903626e4b5..4f81b6e5e6 100644--- a/src/tests/common/ring_buffer.cpp+++ b/src/tests/common/ring_buffer.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/tests/common/unique_function.cpp b/src/tests/common/unique_function.cppindex aa6e865934..3112725068 100644--- a/src/tests/common/unique_function.cpp+++ b/src/tests/common/unique_function.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string>diff --git a/src/tests/core/network/network.cpp b/src/tests/core/network/network.cppindex b21ad8911c..1bbb8372fb 100644--- a/src/tests/core/network/network.cpp+++ b/src/tests/core/network/network.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <catch2/catch.hpp>diff --git a/src/tests/input_common/calibration_configuration_job.cpp b/src/tests/input_common/calibration_configuration_job.cppindex 8c77d81e9b..e5f6988867 100644--- a/src/tests/input_common/calibration_configuration_job.cpp+++ b/src/tests/input_common/calibration_configuration_job.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <string>diff --git a/src/tests/video_core/buffer_base.cpp b/src/tests/video_core/buffer_base.cppindex 9f5a54de4a..a1be8dcf17 100644--- a/src/tests/video_core/buffer_base.cpp+++ b/src/tests/video_core/buffer_base.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <stdexcept>#include <unordered_map>diff --git a/src/video_core/buffer_cache/buffer_base.h b/src/video_core/buffer_cache/buffer_base.hindex 10975884bc..3e20608ca5 100644--- a/src/video_core/buffer_cache/buffer_base.h+++ b/src/video_core/buffer_cache/buffer_base.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/buffer_cache/buffer_cache.cpp b/src/video_core/buffer_cache/buffer_cache.cppindex ab32294c83..a16308b608 100644--- a/src/video_core/buffer_cache/buffer_cache.cpp+++ b/src/video_core/buffer_cache/buffer_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/microprofile.h"diff --git a/src/video_core/buffer_cache/buffer_cache.h b/src/video_core/buffer_cache/buffer_cache.hindex 3f2bf6294c..b74ad79002 100644--- a/src/video_core/buffer_cache/buffer_cache.h+++ b/src/video_core/buffer_cache/buffer_cache.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/cdma_pusher.h b/src/video_core/cdma_pusher.hindex cb1d16b713..d6ffef95f7 100644--- a/src/video_core/cdma_pusher.h+++ b/src/video_core/cdma_pusher.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/codecs/codec.cpp b/src/video_core/command_classes/codecs/codec.cppindex 40f7755e85..83b2e0fc48 100644--- a/src/video_core/command_classes/codecs/codec.cpp+++ b/src/video_core/command_classes/codecs/codec.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <fstream>diff --git a/src/video_core/command_classes/codecs/codec.h b/src/video_core/command_classes/codecs/codec.hindex 661673b4e9..0c2405465c 100644--- a/src/video_core/command_classes/codecs/codec.h+++ b/src/video_core/command_classes/codecs/codec.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/codecs/vp8.cpp b/src/video_core/command_classes/codecs/vp8.cppindex 2f280cb7c3..c83b9bbc27 100644--- a/src/video_core/command_classes/codecs/vp8.cpp+++ b/src/video_core/command_classes/codecs/vp8.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <vector>diff --git a/src/video_core/command_classes/codecs/vp8.h b/src/video_core/command_classes/codecs/vp8.hindex 41fc7b4038..3357667b08 100644--- a/src/video_core/command_classes/codecs/vp8.h+++ b/src/video_core/command_classes/codecs/vp8.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/codecs/vp9.cpp b/src/video_core/command_classes/codecs/vp9.cppindex 2c00181fad..a956189136 100644--- a/src/video_core/command_classes/codecs/vp9.cpp+++ b/src/video_core/command_classes/codecs/vp9.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm> // for std::copy#include <numeric>diff --git a/src/video_core/command_classes/codecs/vp9.h b/src/video_core/command_classes/codecs/vp9.hindex 2e735c7922..ecc40e8b1b 100644--- a/src/video_core/command_classes/codecs/vp9.h+++ b/src/video_core/command_classes/codecs/vp9.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/codecs/vp9_types.h b/src/video_core/command_classes/codecs/vp9_types.hindex af12900161..bb3d8df6e1 100644--- a/src/video_core/command_classes/codecs/vp9_types.h+++ b/src/video_core/command_classes/codecs/vp9_types.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/host1x.cpp b/src/video_core/command_classes/host1x.cppindex b124945287..11855fe103 100644--- a/src/video_core/command_classes/host1x.cpp+++ b/src/video_core/command_classes/host1x.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "video_core/command_classes/host1x.h"diff --git a/src/video_core/command_classes/host1x.h b/src/video_core/command_classes/host1x.hindex 736d2fd0cc..bb48a4381e 100644--- a/src/video_core/command_classes/host1x.h+++ b/src/video_core/command_classes/host1x.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/nvdec.cpp b/src/video_core/command_classes/nvdec.cppindex 9aaf5247ed..4fbbe3da62 100644--- a/src/video_core/command_classes/nvdec.cpp+++ b/src/video_core/command_classes/nvdec.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "video_core/command_classes/nvdec.h"diff --git a/src/video_core/command_classes/nvdec.h b/src/video_core/command_classes/nvdec.hindex 6e1da0b04f..488531fc6b 100644--- a/src/video_core/command_classes/nvdec.h+++ b/src/video_core/command_classes/nvdec.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/nvdec_common.h b/src/video_core/command_classes/nvdec_common.hindex 8a35c44a1b..521e5b52b7 100644--- a/src/video_core/command_classes/nvdec_common.h+++ b/src/video_core/command_classes/nvdec_common.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/command_classes/vic.cpp b/src/video_core/command_classes/vic.cppindex 051616124c..bef321b6e4 100644--- a/src/video_core/command_classes/vic.cpp+++ b/src/video_core/command_classes/vic.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>diff --git a/src/video_core/command_classes/vic.h b/src/video_core/command_classes/vic.hindex 6d4cdfd576..010daa6b64 100644--- a/src/video_core/command_classes/vic.h+++ b/src/video_core/command_classes/vic.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/compatible_formats.cpp b/src/video_core/compatible_formats.cppindex 8317d06369..014d880e21 100644--- a/src/video_core/compatible_formats.cpp+++ b/src/video_core/compatible_formats.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <cstddef>diff --git a/src/video_core/compatible_formats.h b/src/video_core/compatible_formats.hindex 55745e0421..a7ce2c198c 100644--- a/src/video_core/compatible_formats.h+++ b/src/video_core/compatible_formats.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/delayed_destruction_ring.h b/src/video_core/delayed_destruction_ring.hindex 4f1d29c04b..d13ee622b2 100644--- a/src/video_core/delayed_destruction_ring.h+++ b/src/video_core/delayed_destruction_ring.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/dirty_flags.cpp b/src/video_core/dirty_flags.cppindex b1be065c39..9dc4341f0e 100644--- a/src/video_core/dirty_flags.cpp+++ b/src/video_core/dirty_flags.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <cstddef>diff --git a/src/video_core/dirty_flags.h b/src/video_core/dirty_flags.hindex d63ad5a35d..736082d837 100644--- a/src/video_core/dirty_flags.h+++ b/src/video_core/dirty_flags.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/dma_pusher.cpp b/src/video_core/dma_pusher.cppindex 0b51e402a5..29b8582abd 100644--- a/src/video_core/dma_pusher.cpp+++ b/src/video_core/dma_pusher.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/cityhash.h"#include "common/microprofile.h"diff --git a/src/video_core/dma_pusher.h b/src/video_core/dma_pusher.hindex 19f286fa71..872fd146ac 100644--- a/src/video_core/dma_pusher.h+++ b/src/video_core/dma_pusher.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/const_buffer_info.h b/src/video_core/engines/const_buffer_info.hindex d8f6724620..abafcf0900 100644--- a/src/video_core/engines/const_buffer_info.h+++ b/src/video_core/engines/const_buffer_info.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/engine_interface.h b/src/video_core/engines/engine_interface.hindex c7ffd68c57..26cde85841 100644--- a/src/video_core/engines/engine_interface.h+++ b/src/video_core/engines/engine_interface.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/engine_upload.cpp b/src/video_core/engines/engine_upload.cppindex 351b110feb..6ff5b1eca7 100644--- a/src/video_core/engines/engine_upload.cpp+++ b/src/video_core/engines/engine_upload.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>diff --git a/src/video_core/engines/engine_upload.h b/src/video_core/engines/engine_upload.hindex c9c5ec8c3d..94ff3314a7 100644--- a/src/video_core/engines/engine_upload.h+++ b/src/video_core/engines/engine_upload.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/fermi_2d.cpp b/src/video_core/engines/fermi_2d.cppindex f26530ede8..453e0fb019 100644--- a/src/video_core/engines/fermi_2d.cpp+++ b/src/video_core/engines/fermi_2d.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/video_core/engines/fermi_2d.h b/src/video_core/engines/fermi_2d.hindex 4c0568c4c7..1229aa35b5 100644--- a/src/video_core/engines/fermi_2d.h+++ b/src/video_core/engines/fermi_2d.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/kepler_compute.cpp b/src/video_core/engines/kepler_compute.cppindex f7ff92c573..5db254d948 100644--- a/src/video_core/engines/kepler_compute.cpp+++ b/src/video_core/engines/kepler_compute.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <bitset>#include "common/assert.h"diff --git a/src/video_core/engines/kepler_compute.h b/src/video_core/engines/kepler_compute.hindex c6b8adb565..aab309ecc1 100644--- a/src/video_core/engines/kepler_compute.h+++ b/src/video_core/engines/kepler_compute.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/kepler_memory.cpp b/src/video_core/engines/kepler_memory.cppindex f930e02b63..e2b0295427 100644--- a/src/video_core/engines/kepler_memory.cpp+++ b/src/video_core/engines/kepler_memory.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/video_core/engines/kepler_memory.h b/src/video_core/engines/kepler_memory.hindex 4cb4a3d2d0..5fe7489f0c 100644--- a/src/video_core/engines/kepler_memory.h+++ b/src/video_core/engines/kepler_memory.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/maxwell_3d.cpp b/src/video_core/engines/maxwell_3d.cppindex 7399e760fe..d4652b167d 100644--- a/src/video_core/engines/maxwell_3d.cpp+++ b/src/video_core/engines/maxwell_3d.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include <optional>diff --git a/src/video_core/engines/maxwell_3d.h b/src/video_core/engines/maxwell_3d.hindex d36dc3daa0..c0c2c7d967 100644--- a/src/video_core/engines/maxwell_3d.h+++ b/src/video_core/engines/maxwell_3d.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/engines/maxwell_dma.cpp b/src/video_core/engines/maxwell_dma.cppindex 1fc1358bcf..76e8bc6561 100644--- a/src/video_core/engines/maxwell_dma.cpp+++ b/src/video_core/engines/maxwell_dma.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/logging/log.h"diff --git a/src/video_core/engines/maxwell_dma.h b/src/video_core/engines/maxwell_dma.hindex 9d0c777933..074bac92c4 100644--- a/src/video_core/engines/maxwell_dma.h+++ b/src/video_core/engines/maxwell_dma.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/fence_manager.h b/src/video_core/fence_manager.hindex f80d62c800..1e9832ddd4 100644--- a/src/video_core/fence_manager.h+++ b/src/video_core/fence_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/framebuffer_config.h b/src/video_core/framebuffer_config.hindex 93349bb78f..d93f5a37fe 100644--- a/src/video_core/framebuffer_config.h+++ b/src/video_core/framebuffer_config.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/gpu.cpp b/src/video_core/gpu.cppindex 789af452d1..33431f2a0f 100644--- a/src/video_core/gpu.cpp+++ b/src/video_core/gpu.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <atomic>diff --git a/src/video_core/gpu.h b/src/video_core/gpu.hindex 97c0291402..b939ba315d 100644--- a/src/video_core/gpu.h+++ b/src/video_core/gpu.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/gpu_thread.cpp b/src/video_core/gpu_thread.cppindex 4e89999157..b79a731327 100644--- a/src/video_core/gpu_thread.cpp+++ b/src/video_core/gpu_thread.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "common/microprofile.h"diff --git a/src/video_core/gpu_thread.h b/src/video_core/gpu_thread.hindex 00984188ee..71cd357564 100644--- a/src/video_core/gpu_thread.h+++ b/src/video_core/gpu_thread.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/host_shaders/astc_decoder.comp b/src/video_core/host_shaders/astc_decoder.compindex 3a10578cb9..3441a5fe54 100644--- a/src/video_core/host_shaders/astc_decoder.comp+++ b/src/video_core/host_shaders/astc_decoder.comp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450diff --git a/src/video_core/host_shaders/block_linear_unswizzle_2d.comp b/src/video_core/host_shaders/block_linear_unswizzle_2d.compindex a131be79e5..121f60cbd1 100644--- a/src/video_core/host_shaders/block_linear_unswizzle_2d.comp+++ b/src/video_core/host_shaders/block_linear_unswizzle_2d.comp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 430diff --git a/src/video_core/host_shaders/block_linear_unswizzle_3d.comp b/src/video_core/host_shaders/block_linear_unswizzle_3d.compindex bb6872e6b7..7fc98accb9 100644--- a/src/video_core/host_shaders/block_linear_unswizzle_3d.comp+++ b/src/video_core/host_shaders/block_linear_unswizzle_3d.comp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 430diff --git a/src/video_core/host_shaders/convert_abgr8_to_d24s8.frag b/src/video_core/host_shaders/convert_abgr8_to_d24s8.fragindex ea055ddad9..ff102e582f 100644--- a/src/video_core/host_shaders/convert_abgr8_to_d24s8.frag+++ b/src/video_core/host_shaders/convert_abgr8_to_d24s8.frag@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450#extension GL_ARB_shader_stencil_export : requirediff --git a/src/video_core/host_shaders/convert_d24s8_to_abgr8.frag b/src/video_core/host_shaders/convert_d24s8_to_abgr8.fragindex 94368fb593..d33131d7c8 100644--- a/src/video_core/host_shaders/convert_d24s8_to_abgr8.frag+++ b/src/video_core/host_shaders/convert_d24s8_to_abgr8.frag@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450diff --git a/src/video_core/host_shaders/convert_depth_to_float.frag b/src/video_core/host_shaders/convert_depth_to_float.fragindex 624c585091..57f0ce5a61 100644--- a/src/video_core/host_shaders/convert_depth_to_float.frag+++ b/src/video_core/host_shaders/convert_depth_to_float.frag@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450diff --git a/src/video_core/host_shaders/convert_float_to_depth.frag b/src/video_core/host_shaders/convert_float_to_depth.fragindex d86c795f4c..5d403b1ec8 100644--- a/src/video_core/host_shaders/convert_float_to_depth.frag+++ b/src/video_core/host_shaders/convert_float_to_depth.frag@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450diff --git a/src/video_core/host_shaders/convert_s8d24_to_abgr8.frag b/src/video_core/host_shaders/convert_s8d24_to_abgr8.fragindex c8a1683b87..31db7d4262 100644--- a/src/video_core/host_shaders/convert_s8d24_to_abgr8.frag+++ b/src/video_core/host_shaders/convert_s8d24_to_abgr8.frag@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450diff --git a/src/video_core/host_shaders/fidelityfx_fsr.comp b/src/video_core/host_shaders/fidelityfx_fsr.compindex 6b97f789d7..f91b1aa9f0 100644--- a/src/video_core/host_shaders/fidelityfx_fsr.comp+++ b/src/video_core/host_shaders/fidelityfx_fsr.comp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later//!#version 460 core#extension GL_ARB_separate_shader_objects : enablediff --git a/src/video_core/host_shaders/full_screen_triangle.vert b/src/video_core/host_shaders/full_screen_triangle.vertindex 452ad65024..2c976b19f6 100644--- a/src/video_core/host_shaders/full_screen_triangle.vert+++ b/src/video_core/host_shaders/full_screen_triangle.vert@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450diff --git a/src/video_core/host_shaders/fxaa.frag b/src/video_core/host_shaders/fxaa.fragindex 02f4068d17..9bffc20d56 100644--- a/src/video_core/host_shaders/fxaa.frag+++ b/src/video_core/host_shaders/fxaa.frag@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// Source code is adapted from// https://www.geeks3d.com/20110405/fxaa-fast-approximate-anti-aliasing-demo-glsl-opengl-test-radeon-geforce/3/diff --git a/src/video_core/host_shaders/fxaa.vert b/src/video_core/host_shaders/fxaa.vertindex ac20c04e9e..c2717d90d0 100644--- a/src/video_core/host_shaders/fxaa.vert+++ b/src/video_core/host_shaders/fxaa.vert@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460diff --git a/src/video_core/host_shaders/opengl_convert_s8d24.comp b/src/video_core/host_shaders/opengl_convert_s8d24.compindex 83e1ab1764..970203214c 100644--- a/src/video_core/host_shaders/opengl_convert_s8d24.comp+++ b/src/video_core/host_shaders/opengl_convert_s8d24.comp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 430 corediff --git a/src/video_core/host_shaders/opengl_copy_bc4.comp b/src/video_core/host_shaders/opengl_copy_bc4.compindex 7b8e20fbe0..8d3ae5a979 100644--- a/src/video_core/host_shaders/opengl_copy_bc4.comp+++ b/src/video_core/host_shaders/opengl_copy_bc4.comp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 430 core#extension GL_ARB_gpu_shader_int64 : requirediff --git a/src/video_core/host_shaders/opengl_present.frag b/src/video_core/host_shaders/opengl_present.fragindex 84b8182275..5fd7ad2976 100644--- a/src/video_core/host_shaders/opengl_present.frag+++ b/src/video_core/host_shaders/opengl_present.frag@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 430 corediff --git a/src/video_core/host_shaders/opengl_present.vert b/src/video_core/host_shaders/opengl_present.vertindex c3b5adbbae..cc2f40163d 100644--- a/src/video_core/host_shaders/opengl_present.vert+++ b/src/video_core/host_shaders/opengl_present.vert@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 430 corediff --git a/src/video_core/host_shaders/pitch_unswizzle.comp b/src/video_core/host_shaders/pitch_unswizzle.compindex cb48ec1704..7d23f594c7 100644--- a/src/video_core/host_shaders/pitch_unswizzle.comp+++ b/src/video_core/host_shaders/pitch_unswizzle.comp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 430diff --git a/src/video_core/host_shaders/present_bicubic.frag b/src/video_core/host_shaders/present_bicubic.fragindex 902b70c2b7..c57dd28518 100644--- a/src/video_core/host_shaders/present_bicubic.frag+++ b/src/video_core/host_shaders/present_bicubic.frag@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 corediff --git a/src/video_core/host_shaders/present_gaussian.frag b/src/video_core/host_shaders/present_gaussian.fragindex 66fed3238c..5f54b71b60 100644--- a/src/video_core/host_shaders/present_gaussian.frag+++ b/src/video_core/host_shaders/present_gaussian.frag@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// Code adapted from the following sources:// - https://learnopengl.com/Advanced-Lighting/Bloomdiff --git a/src/video_core/host_shaders/vulkan_blit_color_float.frag b/src/video_core/host_shaders/vulkan_blit_color_float.fragindex 4a6aae410e..c0c8322969 100644--- a/src/video_core/host_shaders/vulkan_blit_color_float.frag+++ b/src/video_core/host_shaders/vulkan_blit_color_float.frag@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450diff --git a/src/video_core/host_shaders/vulkan_blit_depth_stencil.frag b/src/video_core/host_shaders/vulkan_blit_depth_stencil.fragindex 19bb23a5a4..484b99773c 100644--- a/src/video_core/host_shaders/vulkan_blit_depth_stencil.frag+++ b/src/video_core/host_shaders/vulkan_blit_depth_stencil.frag@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 450#extension GL_ARB_shader_stencil_export : requirediff --git a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp16.comp b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp16.compindex 1c96a7905b..00af13726b 100644--- a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp16.comp+++ b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp16.comp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 core#extension GL_GOOGLE_include_directive : enablediff --git a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp32.comp b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp32.compindex f4daff7390..13d783fa86 100644--- a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp32.comp+++ b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_easu_fp32.comp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 core#extension GL_GOOGLE_include_directive : enablediff --git a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp16.comp b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp16.compindex 6b6796dd12..331549d96f 100644--- a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp16.comp+++ b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp16.comp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 core#extension GL_GOOGLE_include_directive : enablediff --git a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp32.comp b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp32.compindex f785eebf34..013ca0014b 100644--- a/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp32.comp+++ b/src/video_core/host_shaders/vulkan_fidelityfx_fsr_rcas_fp32.comp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 core#extension GL_GOOGLE_include_directive : enablediff --git a/src/video_core/host_shaders/vulkan_present.frag b/src/video_core/host_shaders/vulkan_present.fragindex 0979ff3e6e..97e098cedc 100644--- a/src/video_core/host_shaders/vulkan_present.frag+++ b/src/video_core/host_shaders/vulkan_present.frag@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 corediff --git a/src/video_core/host_shaders/vulkan_present.vert b/src/video_core/host_shaders/vulkan_present.vertindex 00b8689589..89dc80468d 100644--- a/src/video_core/host_shaders/vulkan_present.vert+++ b/src/video_core/host_shaders/vulkan_present.vert@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 corediff --git a/src/video_core/host_shaders/vulkan_quad_indexed.comp b/src/video_core/host_shaders/vulkan_quad_indexed.compindex 8655591d07..a412f30ffa 100644--- a/src/video_core/host_shaders/vulkan_quad_indexed.comp+++ b/src/video_core/host_shaders/vulkan_quad_indexed.comp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 corediff --git a/src/video_core/host_shaders/vulkan_uint8.comp b/src/video_core/host_shaders/vulkan_uint8.compindex 872291670c..5aa6abdc8d 100644--- a/src/video_core/host_shaders/vulkan_uint8.comp+++ b/src/video_core/host_shaders/vulkan_uint8.comp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#version 460 core#extension GL_EXT_shader_16bit_storage : requirediff --git a/src/video_core/macro/macro.cpp b/src/video_core/macro/macro.cppindex 0aeda4ce8b..a033d03beb 100644--- a/src/video_core/macro/macro.cpp+++ b/src/video_core/macro/macro.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>#include <optional>diff --git a/src/video_core/macro/macro.h b/src/video_core/macro/macro.hindex 7aaa492869..7e12c16dc8 100644--- a/src/video_core/macro/macro.h+++ b/src/video_core/macro/macro.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/macro/macro_hle.cpp b/src/video_core/macro/macro_hle.cppindex 900ad23c9d..58382755b8 100644--- a/src/video_core/macro/macro_hle.cpp+++ b/src/video_core/macro/macro_hle.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <vector>diff --git a/src/video_core/macro/macro_hle.h b/src/video_core/macro/macro_hle.hindex b86ba84a1f..625332c9d9 100644--- a/src/video_core/macro/macro_hle.h+++ b/src/video_core/macro/macro_hle.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/macro/macro_interpreter.cpp b/src/video_core/macro/macro_interpreter.cppindex fba7554488..87d2e87215 100644--- a/src/video_core/macro/macro_interpreter.cpp+++ b/src/video_core/macro/macro_interpreter.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <optional>diff --git a/src/video_core/macro/macro_interpreter.h b/src/video_core/macro/macro_interpreter.hindex 8a9648e46d..f5eeb0b76f 100644--- a/src/video_core/macro/macro_interpreter.h+++ b/src/video_core/macro/macro_interpreter.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/macro/macro_jit_x64.cpp b/src/video_core/macro/macro_jit_x64.cppindex 47b28ad169..dc2b490d43 100644--- a/src/video_core/macro/macro_jit_x64.cpp+++ b/src/video_core/macro/macro_jit_x64.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <bitset>diff --git a/src/video_core/macro/macro_jit_x64.h b/src/video_core/macro/macro_jit_x64.hindex 773b037ae6..99ee1b9e68 100644--- a/src/video_core/macro/macro_jit_x64.h+++ b/src/video_core/macro/macro_jit_x64.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/memory_manager.cpp b/src/video_core/memory_manager.cppindex 722ebd9ad3..c8d99fdb55 100644--- a/src/video_core/memory_manager.cpp+++ b/src/video_core/memory_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/video_core/memory_manager.h b/src/video_core/memory_manager.hindex 61bfe47c7e..74f9ce1754 100644--- a/src/video_core/memory_manager.h+++ b/src/video_core/memory_manager.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/query_cache.h b/src/video_core/query_cache.hindex 8a84bcfa94..fcce87acb2 100644--- a/src/video_core/query_cache.h+++ b/src/video_core/query_cache.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/rasterizer_accelerated.cpp b/src/video_core/rasterizer_accelerated.cppindex 4c95247022..87a29e1443 100644--- a/src/video_core/rasterizer_accelerated.cpp+++ b/src/video_core/rasterizer_accelerated.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <atomic>diff --git a/src/video_core/rasterizer_accelerated.h b/src/video_core/rasterizer_accelerated.hindex 249644e506..7118b8aff3 100644--- a/src/video_core/rasterizer_accelerated.h+++ b/src/video_core/rasterizer_accelerated.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/rasterizer_interface.h b/src/video_core/rasterizer_interface.hindex 1f1f122910..a04a764815 100644--- a/src/video_core/rasterizer_interface.h+++ b/src/video_core/rasterizer_interface.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_buffer_cache.cpp b/src/video_core/renderer_opengl/gl_buffer_cache.cppindex f1f7b384ba..32450ee1df 100644--- a/src/video_core/renderer_opengl/gl_buffer_cache.cpp+++ b/src/video_core/renderer_opengl/gl_buffer_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <span>diff --git a/src/video_core/renderer_opengl/gl_buffer_cache.h b/src/video_core/renderer_opengl/gl_buffer_cache.hindex a8699f28c8..a8c3f8b674 100644--- a/src/video_core/renderer_opengl/gl_buffer_cache.h+++ b/src/video_core/renderer_opengl/gl_buffer_cache.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_compute_pipeline.cpp b/src/video_core/renderer_opengl/gl_compute_pipeline.cppindex 5c1f21c65d..1f0f156ede 100644--- a/src/video_core/renderer_opengl/gl_compute_pipeline.cpp+++ b/src/video_core/renderer_opengl/gl_compute_pipeline.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>diff --git a/src/video_core/renderer_opengl/gl_compute_pipeline.h b/src/video_core/renderer_opengl/gl_compute_pipeline.hindex b0d183b463..723f27f114 100644--- a/src/video_core/renderer_opengl/gl_compute_pipeline.h+++ b/src/video_core/renderer_opengl/gl_compute_pipeline.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cppindex 597301eeb2..1663e277d3 100644--- a/src/video_core/renderer_opengl/gl_device.cpp+++ b/src/video_core/renderer_opengl/gl_device.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_opengl/gl_device.h b/src/video_core/renderer_opengl/gl_device.hindex 9bb0b91480..5ef51ebcf3 100644--- a/src/video_core/renderer_opengl/gl_device.h+++ b/src/video_core/renderer_opengl/gl_device.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_fence_manager.cpp b/src/video_core/renderer_opengl/gl_fence_manager.cppindex 293ad7d599..6e82c2e28d 100644--- a/src/video_core/renderer_opengl/gl_fence_manager.cpp+++ b/src/video_core/renderer_opengl/gl_fence_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"diff --git a/src/video_core/renderer_opengl/gl_fence_manager.h b/src/video_core/renderer_opengl/gl_fence_manager.hindex e714aa1156..14ff00db21 100644--- a/src/video_core/renderer_opengl/gl_fence_manager.h+++ b/src/video_core/renderer_opengl/gl_fence_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp b/src/video_core/renderer_opengl/gl_graphics_pipeline.cppindex fd40966d50..35f42f2f86 100644--- a/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp+++ b/src/video_core/renderer_opengl/gl_graphics_pipeline.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_opengl/gl_graphics_pipeline.h b/src/video_core/renderer_opengl/gl_graphics_pipeline.hindex 4f8049717d..4ec15b9666 100644--- a/src/video_core/renderer_opengl/gl_graphics_pipeline.h+++ b/src/video_core/renderer_opengl/gl_graphics_pipeline.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_query_cache.cpp b/src/video_core/renderer_opengl/gl_query_cache.cppindex 9e6c500552..ed40f5791d 100644--- a/src/video_core/renderer_opengl/gl_query_cache.cpp+++ b/src/video_core/renderer_opengl/gl_query_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <memory>diff --git a/src/video_core/renderer_opengl/gl_query_cache.h b/src/video_core/renderer_opengl/gl_query_cache.hindex 7bbe5cfe94..8a49f1ef0d 100644--- a/src/video_core/renderer_opengl/gl_query_cache.h+++ b/src/video_core/renderer_opengl/gl_query_cache.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_shader_cache.cpp b/src/video_core/renderer_opengl/gl_shader_cache.cppindex 05c5e702cc..cd48fef268 100644--- a/src/video_core/renderer_opengl/gl_shader_cache.cpp+++ b/src/video_core/renderer_opengl/gl_shader_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <atomic>#include <fstream>diff --git a/src/video_core/renderer_opengl/gl_shader_cache.h b/src/video_core/renderer_opengl/gl_shader_cache.hindex 06d4b38bb7..a14269dea6 100644--- a/src/video_core/renderer_opengl/gl_shader_cache.h+++ b/src/video_core/renderer_opengl/gl_shader_cache.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_shader_context.h b/src/video_core/renderer_opengl/gl_shader_context.hindex 6ff34e5d64..ca2bd8e8e5 100644--- a/src/video_core/renderer_opengl/gl_shader_context.h+++ b/src/video_core/renderer_opengl/gl_shader_context.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_shader_manager.cpp b/src/video_core/renderer_opengl/gl_shader_manager.cppindex 399959afbc..d9c29d8b79 100644--- a/src/video_core/renderer_opengl/gl_shader_manager.cpp+++ b/src/video_core/renderer_opengl/gl_shader_manager.cpp@@ -1,3 +1,2 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-laterdiff --git a/src/video_core/renderer_opengl/gl_shader_manager.h b/src/video_core/renderer_opengl/gl_shader_manager.hindex d7ef0775d7..a84f5aeb3d 100644--- a/src/video_core/renderer_opengl/gl_shader_manager.h+++ b/src/video_core/renderer_opengl/gl_shader_manager.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_state_tracker.cpp b/src/video_core/renderer_opengl/gl_state_tracker.cppindex 586da84e39..912725ef72 100644--- a/src/video_core/renderer_opengl/gl_state_tracker.cpp+++ b/src/video_core/renderer_opengl/gl_state_tracker.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_opengl/gl_state_tracker.h b/src/video_core/renderer_opengl/gl_state_tracker.hindex 550ed6d36f..04e024f085 100644--- a/src/video_core/renderer_opengl/gl_state_tracker.h+++ b/src/video_core/renderer_opengl/gl_state_tracker.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_stream_buffer.cpp b/src/video_core/renderer_opengl/gl_stream_buffer.cppindex 77b3ee0fe6..2005c8993d 100644--- a/src/video_core/renderer_opengl/gl_stream_buffer.cpp+++ b/src/video_core/renderer_opengl/gl_stream_buffer.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <memory>diff --git a/src/video_core/renderer_opengl/gl_stream_buffer.h b/src/video_core/renderer_opengl/gl_stream_buffer.hindex f0cb29dca8..8fe927aaf5 100644--- a/src/video_core/renderer_opengl/gl_stream_buffer.h+++ b/src/video_core/renderer_opengl/gl_stream_buffer.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_texture_cache.cpp b/src/video_core/renderer_opengl/gl_texture_cache.cppindex f8c6e5c7e6..29ff736fb1 100644--- a/src/video_core/renderer_opengl/gl_texture_cache.cpp+++ b/src/video_core/renderer_opengl/gl_texture_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_opengl/gl_texture_cache.h b/src/video_core/renderer_opengl/gl_texture_cache.hindex 672fa8dde3..113528e9bb 100644--- a/src/video_core/renderer_opengl/gl_texture_cache.h+++ b/src/video_core/renderer_opengl/gl_texture_cache.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/gl_texture_cache_base.cpp b/src/video_core/renderer_opengl/gl_texture_cache_base.cppindex 385358fea3..64416fd511 100644--- a/src/video_core/renderer_opengl/gl_texture_cache_base.cpp+++ b/src/video_core/renderer_opengl/gl_texture_cache_base.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "video_core/renderer_opengl/gl_texture_cache.h"#include "video_core/texture_cache/texture_cache.h"diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.hindex 03adf3d4c5..c2a6da5a77 100644--- a/src/video_core/renderer_opengl/maxwell_to_gl.h+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_opengl/util_shaders.cpp b/src/video_core/renderer_opengl/util_shaders.cppindex 04c482a093..8378257376 100644--- a/src/video_core/renderer_opengl/util_shaders.cpp+++ b/src/video_core/renderer_opengl/util_shaders.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <span>#include <string_view>diff --git a/src/video_core/renderer_opengl/util_shaders.h b/src/video_core/renderer_opengl/util_shaders.hindex 5c132e67f8..44efb6ecff 100644--- a/src/video_core/renderer_opengl/util_shaders.h+++ b/src/video_core/renderer_opengl/util_shaders.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/blit_image.cpp b/src/video_core/renderer_vulkan/blit_image.cppindex abda1c4902..5d35366f7f 100644--- a/src/video_core/renderer_vulkan/blit_image.cpp+++ b/src/video_core/renderer_vulkan/blit_image.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/video_core/renderer_vulkan/blit_image.h b/src/video_core/renderer_vulkan/blit_image.hindex 29ee0f67ab..21e9d7d694 100644--- a/src/video_core/renderer_vulkan/blit_image.h+++ b/src/video_core/renderer_vulkan/blit_image.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp b/src/video_core/renderer_vulkan/fixed_pipeline_state.cppindex c2259ac5f0..733b454de7 100644--- a/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp+++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstring>diff --git a/src/video_core/renderer_vulkan/fixed_pipeline_state.h b/src/video_core/renderer_vulkan/fixed_pipeline_state.hindex c9be379355..9d60756e55 100644--- a/src/video_core/renderer_vulkan/fixed_pipeline_state.h+++ b/src/video_core/renderer_vulkan/fixed_pipeline_state.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp b/src/video_core/renderer_vulkan/maxwell_to_vk.cppindex a2c6d0e6cb..ea360f339b 100644--- a/src/video_core/renderer_vulkan/maxwell_to_vk.cpp+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <iterator>diff --git a/src/video_core/renderer_vulkan/maxwell_to_vk.h b/src/video_core/renderer_vulkan/maxwell_to_vk.hindex 1c1f420f24..9edd6af6a6 100644--- a/src/video_core/renderer_vulkan/maxwell_to_vk.h+++ b/src/video_core/renderer_vulkan/maxwell_to_vk.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/pipeline_helper.h b/src/video_core/renderer_vulkan/pipeline_helper.hindex c25d469e6d..9d676612ce 100644--- a/src/video_core/renderer_vulkan/pipeline_helper.h+++ b/src/video_core/renderer_vulkan/pipeline_helper.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/pipeline_statistics.cpp b/src/video_core/renderer_vulkan/pipeline_statistics.cppindex 7ccadf0841..fcd160a326 100644--- a/src/video_core/renderer_vulkan/pipeline_statistics.cpp+++ b/src/video_core/renderer_vulkan/pipeline_statistics.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>diff --git a/src/video_core/renderer_vulkan/pipeline_statistics.h b/src/video_core/renderer_vulkan/pipeline_statistics.hindex b618401079..197bb09363 100644--- a/src/video_core/renderer_vulkan/pipeline_statistics.h+++ b/src/video_core/renderer_vulkan/pipeline_statistics.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/renderer_vulkan.cpp b/src/video_core/renderer_vulkan/renderer_vulkan.cppindex ef57fdfa45..7a1d911eb1 100644--- a/src/video_core/renderer_vulkan/renderer_vulkan.cpp+++ b/src/video_core/renderer_vulkan/renderer_vulkan.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_vulkan/renderer_vulkan.h b/src/video_core/renderer_vulkan/renderer_vulkan.hindex 9680108b61..8a8cb347cd 100644--- a/src/video_core/renderer_vulkan/renderer_vulkan.h+++ b/src/video_core/renderer_vulkan/renderer_vulkan.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_blit_screen.cpp b/src/video_core/renderer_vulkan/vk_blit_screen.cppindex b866e91038..289bfd7b63 100644--- a/src/video_core/renderer_vulkan/vk_blit_screen.cpp+++ b/src/video_core/renderer_vulkan/vk_blit_screen.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_vulkan/vk_blit_screen.h b/src/video_core/renderer_vulkan/vk_blit_screen.hindex bbca71af35..1b4260f366 100644--- a/src/video_core/renderer_vulkan/vk_blit_screen.h+++ b/src/video_core/renderer_vulkan/vk_blit_screen.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp b/src/video_core/renderer_vulkan/vk_buffer_cache.cppindex def838c343..0aeb375382 100644--- a/src/video_core/renderer_vulkan/vk_buffer_cache.cpp+++ b/src/video_core/renderer_vulkan/vk_buffer_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_vulkan/vk_buffer_cache.h b/src/video_core/renderer_vulkan/vk_buffer_cache.hindex d7fdd18ff4..6fa618f18e 100644--- a/src/video_core/renderer_vulkan/vk_buffer_cache.h+++ b/src/video_core/renderer_vulkan/vk_buffer_cache.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_command_pool.cpp b/src/video_core/renderer_vulkan/vk_command_pool.cppindex d8e92ac0e6..2f09de1c1a 100644--- a/src/video_core/renderer_vulkan/vk_command_pool.cpp+++ b/src/video_core/renderer_vulkan/vk_command_pool.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstddef>diff --git a/src/video_core/renderer_vulkan/vk_command_pool.h b/src/video_core/renderer_vulkan/vk_command_pool.hindex 61c26a22a1..ec1647f012 100644--- a/src/video_core/renderer_vulkan/vk_command_pool.h+++ b/src/video_core/renderer_vulkan/vk_command_pool.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_compute_pass.cpp b/src/video_core/renderer_vulkan/vk_compute_pass.cppindex 7137944107..29481a102c 100644--- a/src/video_core/renderer_vulkan/vk_compute_pass.cpp+++ b/src/video_core/renderer_vulkan/vk_compute_pass.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <memory>diff --git a/src/video_core/renderer_vulkan/vk_compute_pass.h b/src/video_core/renderer_vulkan/vk_compute_pass.hindex c7b92cce0d..1c6aa0805c 100644--- a/src/video_core/renderer_vulkan/vk_compute_pass.h+++ b/src/video_core/renderer_vulkan/vk_compute_pass.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp b/src/video_core/renderer_vulkan/vk_compute_pipeline.cppindex 97b3594c24..6c497b5d46 100644--- a/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp+++ b/src/video_core/renderer_vulkan/vk_compute_pipeline.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <vector>diff --git a/src/video_core/renderer_vulkan/vk_compute_pipeline.h b/src/video_core/renderer_vulkan/vk_compute_pipeline.hindex c64bd9a062..d4c0e20150 100644--- a/src/video_core/renderer_vulkan/vk_compute_pipeline.h+++ b/src/video_core/renderer_vulkan/vk_compute_pipeline.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_descriptor_pool.cpp b/src/video_core/renderer_vulkan/vk_descriptor_pool.cppindex d87da2a34a..7073a874bb 100644--- a/src/video_core/renderer_vulkan/vk_descriptor_pool.cpp+++ b/src/video_core/renderer_vulkan/vk_descriptor_pool.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <mutex>diff --git a/src/video_core/renderer_vulkan/vk_descriptor_pool.h b/src/video_core/renderer_vulkan/vk_descriptor_pool.hindex 59466aac5f..30895f2595 100644--- a/src/video_core/renderer_vulkan/vk_descriptor_pool.h+++ b/src/video_core/renderer_vulkan/vk_descriptor_pool.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_fence_manager.cpp b/src/video_core/renderer_vulkan/vk_fence_manager.cppindex 0c1098c8f1..96335f22c9 100644--- a/src/video_core/renderer_vulkan/vk_fence_manager.cpp+++ b/src/video_core/renderer_vulkan/vk_fence_manager.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/video_core/renderer_vulkan/vk_fence_manager.h b/src/video_core/renderer_vulkan/vk_fence_manager.hindex cf9f4adbfd..04eb575ce0 100644--- a/src/video_core/renderer_vulkan/vk_fence_manager.h+++ b/src/video_core/renderer_vulkan/vk_fence_manager.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_fsr.cpp b/src/video_core/renderer_vulkan/vk_fsr.cppindex b630090e8f..b563bd51df 100644--- a/src/video_core/renderer_vulkan/vk_fsr.cpp+++ b/src/video_core/renderer_vulkan/vk_fsr.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cmath>#include "common/bit_cast.h"diff --git a/src/video_core/renderer_vulkan/vk_fsr.h b/src/video_core/renderer_vulkan/vk_fsr.hindex 6bbec3d365..836592cb3a 100644--- a/src/video_core/renderer_vulkan/vk_fsr.h+++ b/src/video_core/renderer_vulkan/vk_fsr.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cppindex 8959d6059c..0179679c8b 100644--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <span>diff --git a/src/video_core/renderer_vulkan/vk_graphics_pipeline.h b/src/video_core/renderer_vulkan/vk_graphics_pipeline.hindex a0c1d8f07d..b3bcb0a2d7 100644--- a/src/video_core/renderer_vulkan/vk_graphics_pipeline.h+++ b/src/video_core/renderer_vulkan/vk_graphics_pipeline.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_master_semaphore.cpp b/src/video_core/renderer_vulkan/vk_master_semaphore.cppindex 6852c11b00..4e81d3d288 100644--- a/src/video_core/renderer_vulkan/vk_master_semaphore.cpp+++ b/src/video_core/renderer_vulkan/vk_master_semaphore.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <thread>diff --git a/src/video_core/renderer_vulkan/vk_master_semaphore.h b/src/video_core/renderer_vulkan/vk_master_semaphore.hindex 9be9c9bed2..362ed579a5 100644--- a/src/video_core/renderer_vulkan/vk_master_semaphore.h+++ b/src/video_core/renderer_vulkan/vk_master_semaphore.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp b/src/video_core/renderer_vulkan/vk_pipeline_cache.cppindex 336d1e9dc6..5196bdcf28 100644--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstddef>diff --git a/src/video_core/renderer_vulkan/vk_pipeline_cache.h b/src/video_core/renderer_vulkan/vk_pipeline_cache.hindex 579e25a4a6..5d3a9e4960 100644--- a/src/video_core/renderer_vulkan/vk_pipeline_cache.h+++ b/src/video_core/renderer_vulkan/vk_pipeline_cache.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_query_cache.cpp b/src/video_core/renderer_vulkan/vk_query_cache.cppindex 259cba156b..ea989d3bc7 100644--- a/src/video_core/renderer_vulkan/vk_query_cache.cpp+++ b/src/video_core/renderer_vulkan/vk_query_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstddef>diff --git a/src/video_core/renderer_vulkan/vk_query_cache.h b/src/video_core/renderer_vulkan/vk_query_cache.hindex 7190946b9f..fc176d9073 100644--- a/src/video_core/renderer_vulkan/vk_query_cache.h+++ b/src/video_core/renderer_vulkan/vk_query_cache.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_rasterizer.cpp b/src/video_core/renderer_vulkan/vk_rasterizer.cppindex fa87d37f85..fd27581ce9 100644--- a/src/video_core/renderer_vulkan/vk_rasterizer.cpp+++ b/src/video_core/renderer_vulkan/vk_rasterizer.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_vulkan/vk_rasterizer.h b/src/video_core/renderer_vulkan/vk_rasterizer.hindex c25036fb34..97eeedd9e1 100644--- a/src/video_core/renderer_vulkan/vk_rasterizer.h+++ b/src/video_core/renderer_vulkan/vk_rasterizer.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_render_pass_cache.cpp b/src/video_core/renderer_vulkan/vk_render_pass_cache.cppindex d22bb6694c..ae9f1de642 100644--- a/src/video_core/renderer_vulkan/vk_render_pass_cache.cpp+++ b/src/video_core/renderer_vulkan/vk_render_pass_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <unordered_map>diff --git a/src/video_core/renderer_vulkan/vk_render_pass_cache.h b/src/video_core/renderer_vulkan/vk_render_pass_cache.hindex eaa0ed7751..dc21b7e698 100644--- a/src/video_core/renderer_vulkan/vk_render_pass_cache.h+++ b/src/video_core/renderer_vulkan/vk_render_pass_cache.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_resource_pool.cpp b/src/video_core/renderer_vulkan/vk_resource_pool.cppindex 2dd5149681..6c8ac22f43 100644--- a/src/video_core/renderer_vulkan/vk_resource_pool.cpp+++ b/src/video_core/renderer_vulkan/vk_resource_pool.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <optional>diff --git a/src/video_core/renderer_vulkan/vk_resource_pool.h b/src/video_core/renderer_vulkan/vk_resource_pool.hindex f0b80ad59e..a39a3b8815 100644--- a/src/video_core/renderer_vulkan/vk_resource_pool.h+++ b/src/video_core/renderer_vulkan/vk_resource_pool.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_scheduler.cpp b/src/video_core/renderer_vulkan/vk_scheduler.cppindex 6a94164574..a7261cf979 100644--- a/src/video_core/renderer_vulkan/vk_scheduler.cpp+++ b/src/video_core/renderer_vulkan/vk_scheduler.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include <mutex>diff --git a/src/video_core/renderer_vulkan/vk_scheduler.h b/src/video_core/renderer_vulkan/vk_scheduler.hindex 25c5e6ca1d..7a2200474d 100644--- a/src/video_core/renderer_vulkan/vk_scheduler.h+++ b/src/video_core/renderer_vulkan/vk_scheduler.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_shader_util.cpp b/src/video_core/renderer_vulkan/vk_shader_util.cppindex e8e339f3cd..7a0a2b154a 100644--- a/src/video_core/renderer_vulkan/vk_shader_util.cpp+++ b/src/video_core/renderer_vulkan/vk_shader_util.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstring>diff --git a/src/video_core/renderer_vulkan/vk_shader_util.h b/src/video_core/renderer_vulkan/vk_shader_util.hindex 9517cbe84f..2f7c9f25c3 100644--- a/src/video_core/renderer_vulkan/vk_shader_util.h+++ b/src/video_core/renderer_vulkan/vk_shader_util.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cppindex 64a58304b7..31ce2f8150 100644--- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp+++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <utility>diff --git a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.hindex 69f7618dee..d4d7efa689 100644--- a/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h+++ b/src/video_core/renderer_vulkan/vk_staging_buffer_pool.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_state_tracker.cpp b/src/video_core/renderer_vulkan/vk_state_tracker.cppindex 1e597f98c5..9ad0964319 100644--- a/src/video_core/renderer_vulkan/vk_state_tracker.cpp+++ b/src/video_core/renderer_vulkan/vk_state_tracker.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_vulkan/vk_state_tracker.h b/src/video_core/renderer_vulkan/vk_state_tracker.hindex 8240c83e18..a85bc1c10d 100644--- a/src/video_core/renderer_vulkan/vk_state_tracker.h+++ b/src/video_core/renderer_vulkan/vk_state_tracker.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_swapchain.cpp b/src/video_core/renderer_vulkan/vk_swapchain.cppindex ce744f4cae..7da81551a1 100644--- a/src/video_core/renderer_vulkan/vk_swapchain.cpp+++ b/src/video_core/renderer_vulkan/vk_swapchain.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_vulkan/vk_swapchain.h b/src/video_core/renderer_vulkan/vk_swapchain.hindex 61a6d959e3..6d9d8fec9c 100644--- a/src/video_core/renderer_vulkan/vk_swapchain.h+++ b/src/video_core/renderer_vulkan/vk_swapchain.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_texture_cache.cpp b/src/video_core/renderer_vulkan/vk_texture_cache.cppindex 49691ce0c3..353594293a 100644--- a/src/video_core/renderer_vulkan/vk_texture_cache.cpp+++ b/src/video_core/renderer_vulkan/vk_texture_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/renderer_vulkan/vk_texture_cache.h b/src/video_core/renderer_vulkan/vk_texture_cache.hindex cb15b4a1cf..356dcc703f 100644--- a/src/video_core/renderer_vulkan/vk_texture_cache.h+++ b/src/video_core/renderer_vulkan/vk_texture_cache.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/renderer_vulkan/vk_texture_cache_base.cpp b/src/video_core/renderer_vulkan/vk_texture_cache_base.cppindex 44e6883422..7e1c3a863d 100644--- a/src/video_core/renderer_vulkan/vk_texture_cache_base.cpp+++ b/src/video_core/renderer_vulkan/vk_texture_cache_base.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "video_core/renderer_vulkan/vk_texture_cache.h"#include "video_core/texture_cache/texture_cache.h"diff --git a/src/video_core/renderer_vulkan/vk_update_descriptor.cpp b/src/video_core/renderer_vulkan/vk_update_descriptor.cppindex 89f1b508d0..d29540fecf 100644--- a/src/video_core/renderer_vulkan/vk_update_descriptor.cpp+++ b/src/video_core/renderer_vulkan/vk_update_descriptor.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <variant>#include <boost/container/static_vector.hpp>diff --git a/src/video_core/renderer_vulkan/vk_update_descriptor.h b/src/video_core/renderer_vulkan/vk_update_descriptor.hindex 971a4eb345..d8a56b1535 100644--- a/src/video_core/renderer_vulkan/vk_update_descriptor.h+++ b/src/video_core/renderer_vulkan/vk_update_descriptor.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/shader_cache.cpp b/src/video_core/shader_cache.cppindex 75031767a7..4b1101f7c7 100644--- a/src/video_core/shader_cache.cpp+++ b/src/video_core/shader_cache.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/shader_cache.h b/src/video_core/shader_cache.hindex 8836bc8c6e..1109cfe832 100644--- a/src/video_core/shader_cache.h+++ b/src/video_core/shader_cache.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/shader_environment.cpp b/src/video_core/shader_environment.cppindex 3c22124c4f..a558f8debe 100644--- a/src/video_core/shader_environment.cpp+++ b/src/video_core/shader_environment.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <filesystem>diff --git a/src/video_core/shader_environment.h b/src/video_core/shader_environment.hindex aae762b270..5a145f33a6 100644--- a/src/video_core/shader_environment.h+++ b/src/video_core/shader_environment.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/shader_notify.cpp b/src/video_core/shader_notify.cppindex ce8925896e..631891ec26 100644--- a/src/video_core/shader_notify.cpp+++ b/src/video_core/shader_notify.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <atomic>#include <chrono>diff --git a/src/video_core/shader_notify.h b/src/video_core/shader_notify.hindex 538cda28af..696a51384b 100644--- a/src/video_core/shader_notify.h+++ b/src/video_core/shader_notify.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/accelerated_swizzle.cpp b/src/video_core/texture_cache/accelerated_swizzle.cppindex 15585caeba..70be1657e1 100644--- a/src/video_core/texture_cache/accelerated_swizzle.cpp+++ b/src/video_core/texture_cache/accelerated_swizzle.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <bit>diff --git a/src/video_core/texture_cache/accelerated_swizzle.h b/src/video_core/texture_cache/accelerated_swizzle.hindex a11c924e1c..d4250da689 100644--- a/src/video_core/texture_cache/accelerated_swizzle.h+++ b/src/video_core/texture_cache/accelerated_swizzle.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/decode_bc4.cpp b/src/video_core/texture_cache/decode_bc4.cppindex 0173279753..ef98afdcaa 100644--- a/src/video_core/texture_cache/decode_bc4.cpp+++ b/src/video_core/texture_cache/decode_bc4.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/texture_cache/decode_bc4.h b/src/video_core/texture_cache/decode_bc4.hindex 63fb235082..ab2f735beb 100644--- a/src/video_core/texture_cache/decode_bc4.h+++ b/src/video_core/texture_cache/decode_bc4.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/descriptor_table.h b/src/video_core/texture_cache/descriptor_table.hindex 318bd52141..b18e3838fd 100644--- a/src/video_core/texture_cache/descriptor_table.h+++ b/src/video_core/texture_cache/descriptor_table.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/format_lookup_table.cpp b/src/video_core/texture_cache/format_lookup_table.cppindex 20e64a7c2f..0937768d6a 100644--- a/src/video_core/texture_cache/format_lookup_table.cpp+++ b/src/video_core/texture_cache/format_lookup_table.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "common/logging/log.h"diff --git a/src/video_core/texture_cache/format_lookup_table.h b/src/video_core/texture_cache/format_lookup_table.hindex 729533999b..f504a6cd0b 100644--- a/src/video_core/texture_cache/format_lookup_table.h+++ b/src/video_core/texture_cache/format_lookup_table.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/formatter.cpp b/src/video_core/texture_cache/formatter.cppindex 249cc4d0fd..ee4f2d4066 100644--- a/src/video_core/texture_cache/formatter.cpp+++ b/src/video_core/texture_cache/formatter.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <string>diff --git a/src/video_core/texture_cache/formatter.h b/src/video_core/texture_cache/formatter.hindex 6f5afc5a99..1b78ed4450 100644--- a/src/video_core/texture_cache/formatter.h+++ b/src/video_core/texture_cache/formatter.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/image_base.cpp b/src/video_core/texture_cache/image_base.cppindex 3db2fdf34c..f61e09ac72 100644--- a/src/video_core/texture_cache/image_base.cpp+++ b/src/video_core/texture_cache/image_base.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <optional>diff --git a/src/video_core/texture_cache/image_base.h b/src/video_core/texture_cache/image_base.hindex dd01064324..1f85ec9da0 100644--- a/src/video_core/texture_cache/image_base.h+++ b/src/video_core/texture_cache/image_base.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/image_info.cpp b/src/video_core/texture_cache/image_info.cppindex afb94082ba..802939f6cc 100644--- a/src/video_core/texture_cache/image_info.cpp+++ b/src/video_core/texture_cache/image_info.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/assert.h"#include "video_core/surface.h"diff --git a/src/video_core/texture_cache/image_info.h b/src/video_core/texture_cache/image_info.hindex 5932dcabaf..93755e15e7 100644--- a/src/video_core/texture_cache/image_info.h+++ b/src/video_core/texture_cache/image_info.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/image_view_base.cpp b/src/video_core/texture_cache/image_view_base.cppindex c7b4fc2314..04fb84bfab 100644--- a/src/video_core/texture_cache/image_view_base.cpp+++ b/src/video_core/texture_cache/image_view_base.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/video_core/texture_cache/image_view_base.h b/src/video_core/texture_cache/image_view_base.hindex 9c24c5359a..69c9776e7f 100644--- a/src/video_core/texture_cache/image_view_base.h+++ b/src/video_core/texture_cache/image_view_base.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/image_view_info.cpp b/src/video_core/texture_cache/image_view_info.cppindex e751f26c7e..0cee5e45f5 100644--- a/src/video_core/texture_cache/image_view_info.cpp+++ b/src/video_core/texture_cache/image_view_info.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <limits>diff --git a/src/video_core/texture_cache/image_view_info.h b/src/video_core/texture_cache/image_view_info.hindex 0c1f991174..921f889883 100644--- a/src/video_core/texture_cache/image_view_info.h+++ b/src/video_core/texture_cache/image_view_info.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/render_targets.h b/src/video_core/texture_cache/render_targets.hindex f8f13e84c9..da8ffe9ece 100644--- a/src/video_core/texture_cache/render_targets.h+++ b/src/video_core/texture_cache/render_targets.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/samples_helper.h b/src/video_core/texture_cache/samples_helper.hindex 04539a43cf..91fec60bde 100644--- a/src/video_core/texture_cache/samples_helper.h+++ b/src/video_core/texture_cache/samples_helper.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/slot_vector.h b/src/video_core/texture_cache/slot_vector.hindex 6aabaef7b0..46e8a86e64 100644--- a/src/video_core/texture_cache/slot_vector.h+++ b/src/video_core/texture_cache/slot_vector.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/texture_cache.h b/src/video_core/texture_cache/texture_cache.hindex 8fef74117d..6622d7818a 100644--- a/src/video_core/texture_cache/texture_cache.h+++ b/src/video_core/texture_cache/texture_cache.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/texture_cache_base.h b/src/video_core/texture_cache/texture_cache_base.hindex b1324edf31..e2f8f84c93 100644--- a/src/video_core/texture_cache/texture_cache_base.h+++ b/src/video_core/texture_cache/texture_cache_base.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/types.h b/src/video_core/texture_cache/types.hindex 5ac27b3a7c..0453456b4b 100644--- a/src/video_core/texture_cache/types.h+++ b/src/video_core/texture_cache/types.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/texture_cache/util.cpp b/src/video_core/texture_cache/util.cppindex d8e19cb2fe..5973823315 100644--- a/src/video_core/texture_cache/util.cpp+++ b/src/video_core/texture_cache/util.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later// This files contains code from Ryujinx// A copy of the code can be obtained from https://github.com/Ryujinx/Ryujinxdiff --git a/src/video_core/texture_cache/util.h b/src/video_core/texture_cache/util.hindex f13669ea54..5e28f4ab3d 100644--- a/src/video_core/texture_cache/util.h+++ b/src/video_core/texture_cache/util.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/textures/astc.h b/src/video_core/textures/astc.hindex 564ae1e36d..afd3933c3e 100644--- a/src/video_core/textures/astc.h+++ b/src/video_core/textures/astc.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/textures/decoders.cpp b/src/video_core/textures/decoders.cppindex 6dae230497..c81343850d 100644--- a/src/video_core/textures/decoders.cpp+++ b/src/video_core/textures/decoders.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>#include <cmath>diff --git a/src/video_core/textures/decoders.h b/src/video_core/textures/decoders.hindex 4c14cefbfa..59dfd1621f 100644--- a/src/video_core/textures/decoders.h+++ b/src/video_core/textures/decoders.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/textures/texture.cpp b/src/video_core/textures/texture.cppindex f56b4b9f9a..b8327c88a9 100644--- a/src/video_core/textures/texture.cpp+++ b/src/video_core/textures/texture.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <array>diff --git a/src/video_core/textures/texture.h b/src/video_core/textures/texture.hindex 7994cb859e..7c4553a53f 100644--- a/src/video_core/textures/texture.h+++ b/src/video_core/textures/texture.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/transform_feedback.cpp b/src/video_core/transform_feedback.cppindex ba26ac3f14..7e605981c3 100644--- a/src/video_core/transform_feedback.cpp+++ b/src/video_core/transform_feedback.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <array>diff --git a/src/video_core/transform_feedback.h b/src/video_core/transform_feedback.hindex 8f6946d652..a519adb59e 100644--- a/src/video_core/transform_feedback.h+++ b/src/video_core/transform_feedback.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/nsight_aftermath_tracker.cpp b/src/video_core/vulkan_common/nsight_aftermath_tracker.cppindex fdd1a50818..85f1d13e0b 100644--- a/src/video_core/vulkan_common/nsight_aftermath_tracker.cpp+++ b/src/video_core/vulkan_common/nsight_aftermath_tracker.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef HAS_NSIGHT_AFTERMATHdiff --git a/src/video_core/vulkan_common/nsight_aftermath_tracker.h b/src/video_core/vulkan_common/nsight_aftermath_tracker.hindex 55c1150816..9c1fb77207 100644--- a/src/video_core/vulkan_common/nsight_aftermath_tracker.h+++ b/src/video_core/vulkan_common/nsight_aftermath_tracker.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/vulkan_debug_callback.cpp b/src/video_core/vulkan_common/vulkan_debug_callback.cppindex cf94e1d392..736474009e 100644--- a/src/video_core/vulkan_common/vulkan_debug_callback.cpp+++ b/src/video_core/vulkan_common/vulkan_debug_callback.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string_view>#include "common/logging/log.h"diff --git a/src/video_core/vulkan_common/vulkan_debug_callback.h b/src/video_core/vulkan_common/vulkan_debug_callback.hindex b0519f1326..71b1f69eca 100644--- a/src/video_core/vulkan_common/vulkan_debug_callback.h+++ b/src/video_core/vulkan_common/vulkan_debug_callback.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/vulkan_device.cpp b/src/video_core/vulkan_common/vulkan_device.cppindex bd05a1f84c..7b2ca8046a 100644--- a/src/video_core/vulkan_common/vulkan_device.cpp+++ b/src/video_core/vulkan_common/vulkan_device.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <bitset>diff --git a/src/video_core/vulkan_common/vulkan_device.h b/src/video_core/vulkan_common/vulkan_device.hindex 2d709d069b..d7cc6c5938 100644--- a/src/video_core/vulkan_common/vulkan_device.h+++ b/src/video_core/vulkan_common/vulkan_device.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/vulkan_instance.cpp b/src/video_core/vulkan_common/vulkan_instance.cppindex 662694f169..a082e30593 100644--- a/src/video_core/vulkan_common/vulkan_instance.cpp+++ b/src/video_core/vulkan_common/vulkan_instance.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <future>#include <optional>diff --git a/src/video_core/vulkan_common/vulkan_instance.h b/src/video_core/vulkan_common/vulkan_instance.hindex e5e3a71443..40419d8029 100644--- a/src/video_core/vulkan_common/vulkan_instance.h+++ b/src/video_core/vulkan_common/vulkan_instance.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/vulkan_library.cpp b/src/video_core/vulkan_common/vulkan_library.cppindex d69de05ef6..a5dd33fb2e 100644--- a/src/video_core/vulkan_common/vulkan_library.cpp+++ b/src/video_core/vulkan_common/vulkan_library.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <string>diff --git a/src/video_core/vulkan_common/vulkan_library.h b/src/video_core/vulkan_common/vulkan_library.hindex 8b28b0e17d..364ca979b6 100644--- a/src/video_core/vulkan_common/vulkan_library.h+++ b/src/video_core/vulkan_common/vulkan_library.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp b/src/video_core/vulkan_common/vulkan_memory_allocator.cppindex e6e97b3320..caae6dfdc4 100644--- a/src/video_core/vulkan_common/vulkan_memory_allocator.cpp+++ b/src/video_core/vulkan_common/vulkan_memory_allocator.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <bit>diff --git a/src/video_core/vulkan_common/vulkan_memory_allocator.h b/src/video_core/vulkan_common/vulkan_memory_allocator.hindex 338daf5bac..a5bff03fee 100644--- a/src/video_core/vulkan_common/vulkan_memory_allocator.h+++ b/src/video_core/vulkan_common/vulkan_memory_allocator.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/vulkan_surface.cpp b/src/video_core/vulkan_common/vulkan_surface.cppindex 3c3238f964..69f9c494bd 100644--- a/src/video_core/vulkan_common/vulkan_surface.cpp+++ b/src/video_core/vulkan_common/vulkan_surface.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/logging/log.h"#include "core/frontend/emu_window.h"diff --git a/src/video_core/vulkan_common/vulkan_surface.h b/src/video_core/vulkan_common/vulkan_surface.hindex 05a169e327..5725143e65 100644--- a/src/video_core/vulkan_common/vulkan_surface.h+++ b/src/video_core/vulkan_common/vulkan_surface.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/video_core/vulkan_common/vulkan_wrapper.cpp b/src/video_core/vulkan_common/vulkan_wrapper.cppindex 742cc39dac..b1ea6075a7 100644--- a/src/video_core/vulkan_common/vulkan_wrapper.cpp+++ b/src/video_core/vulkan_common/vulkan_wrapper.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <memory>diff --git a/src/video_core/vulkan_common/vulkan_wrapper.h b/src/video_core/vulkan_common/vulkan_wrapper.hindex 0a5f9931cd..795f16bfb7 100644--- a/src/video_core/vulkan_common/vulkan_wrapper.h+++ b/src/video_core/vulkan_common/vulkan_wrapper.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/web_service/web_result.h b/src/web_service/web_result.hindex 3aeeb52885..6da3a92777 100644--- a/src/web_service/web_result.h+++ b/src/web_service/web_result.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/about_dialog.cpp b/src/yuzu/about_dialog.cppindex 04ab4ae21c..cbcef7b45e 100644--- a/src/yuzu/about_dialog.cpp+++ b/src/yuzu/about_dialog.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QIcon>#include <fmt/format.h>diff --git a/src/yuzu/about_dialog.h b/src/yuzu/about_dialog.hindex 18e8c11a73..3c4e71ee6c 100644--- a/src/yuzu/about_dialog.h+++ b/src/yuzu/about_dialog.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/applets/qt_controller.cpp b/src/yuzu/applets/qt_controller.cppindex 90a27e5737..c924cb0cb0 100644--- a/src/yuzu/applets/qt_controller.cpp+++ b/src/yuzu/applets/qt_controller.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <thread>diff --git a/src/yuzu/applets/qt_controller.h b/src/yuzu/applets/qt_controller.hindex 7ab9ced3de..cf948d2b56 100644--- a/src/yuzu/applets/qt_controller.h+++ b/src/yuzu/applets/qt_controller.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/applets/qt_error.cpp b/src/yuzu/applets/qt_error.cppindex 879e73660d..5bd8d85bb5 100644--- a/src/yuzu/applets/qt_error.cpp+++ b/src/yuzu/applets/qt_error.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QDateTime>#include "yuzu/applets/qt_error.h"diff --git a/src/yuzu/applets/qt_error.h b/src/yuzu/applets/qt_error.hindex 8bd895a32d..2d045b4fc2 100644--- a/src/yuzu/applets/qt_error.h+++ b/src/yuzu/applets/qt_error.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/applets/qt_profile_select.cpp b/src/yuzu/applets/qt_profile_select.cppindex 44502883c5..826c6c2248 100644--- a/src/yuzu/applets/qt_profile_select.cpp+++ b/src/yuzu/applets/qt_profile_select.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <mutex>#include <QApplication>diff --git a/src/yuzu/applets/qt_profile_select.h b/src/yuzu/applets/qt_profile_select.hindex 0a9d4f9821..124f2cdbdb 100644--- a/src/yuzu/applets/qt_profile_select.h+++ b/src/yuzu/applets/qt_profile_select.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/applets/qt_software_keyboard.cpp b/src/yuzu/applets/qt_software_keyboard.cppindex c3857fc98a..d3cf0b43b7 100644--- a/src/yuzu/applets/qt_software_keyboard.cpp+++ b/src/yuzu/applets/qt_software_keyboard.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QCursor>#include <QKeyEvent>diff --git a/src/yuzu/applets/qt_software_keyboard.h b/src/yuzu/applets/qt_software_keyboard.hindex b030cdcf7c..1c489fbb6c 100644--- a/src/yuzu/applets/qt_software_keyboard.h+++ b/src/yuzu/applets/qt_software_keyboard.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/applets/qt_web_browser.cpp b/src/yuzu/applets/qt_web_browser.cppindex 116ef54db3..283c04cd55 100644--- a/src/yuzu/applets/qt_web_browser.cpp+++ b/src/yuzu/applets/qt_web_browser.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef YUZU_USE_QT_WEB_ENGINE#include <QApplication>diff --git a/src/yuzu/applets/qt_web_browser.h b/src/yuzu/applets/qt_web_browser.hindex a470594123..043800853a 100644--- a/src/yuzu/applets/qt_web_browser.h+++ b/src/yuzu/applets/qt_web_browser.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/applets/qt_web_browser_scripts.h b/src/yuzu/applets/qt_web_browser_scripts.hindex c4ba8d40f2..f5530c38fd 100644--- a/src/yuzu/applets/qt_web_browser_scripts.h+++ b/src/yuzu/applets/qt_web_browser_scripts.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/compatibility_list.cpp b/src/yuzu/compatibility_list.cppindex 2d2cfd03cd..dbbe76448a 100644--- a/src/yuzu/compatibility_list.cpp+++ b/src/yuzu/compatibility_list.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>diff --git a/src/yuzu/compatibility_list.h b/src/yuzu/compatibility_list.hindex bc0175bd3c..c0675d7936 100644--- a/src/yuzu/compatibility_list.h+++ b/src/yuzu/compatibility_list.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_audio.cpp b/src/yuzu/configuration/configure_audio.cppindex 2f9285e779..512bdfc229 100644--- a/src/yuzu/configuration/configure_audio.cpp+++ b/src/yuzu/configuration/configure_audio.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>diff --git a/src/yuzu/configuration/configure_audio.h b/src/yuzu/configuration/configure_audio.hindex 5d2d05e478..08c278eeb5 100644--- a/src/yuzu/configuration/configure_audio.h+++ b/src/yuzu/configuration/configure_audio.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_cpu.cpp b/src/yuzu/configuration/configure_cpu.cppindex 0de7fbfed3..3d69fb03ff 100644--- a/src/yuzu/configuration/configure_cpu.cpp+++ b/src/yuzu/configuration/configure_cpu.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/common_types.h"#include "common/settings.h"diff --git a/src/yuzu/configuration/configure_cpu.h b/src/yuzu/configuration/configure_cpu.hindex 3209c11d51..86d928ca3b 100644--- a/src/yuzu/configuration/configure_cpu.h+++ b/src/yuzu/configuration/configure_cpu.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_cpu_debug.cpp b/src/yuzu/configuration/configure_cpu_debug.cppindex 087d9496c2..3c302ec161 100644--- a/src/yuzu/configuration/configure_cpu_debug.cpp+++ b/src/yuzu/configuration/configure_cpu_debug.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings.h"#include "core/core.h"diff --git a/src/yuzu/configuration/configure_cpu_debug.h b/src/yuzu/configuration/configure_cpu_debug.hindex d06c4c63f2..566ae7ecce 100644--- a/src/yuzu/configuration/configure_cpu_debug.h+++ b/src/yuzu/configuration/configure_cpu_debug.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_debug_controller.cpp b/src/yuzu/configuration/configure_debug_controller.cppindex 9a8de92a1e..42abe91190 100644--- a/src/yuzu/configuration/configure_debug_controller.cpp+++ b/src/yuzu/configuration/configure_debug_controller.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/hid/hid_core.h"#include "ui_configure_debug_controller.h"diff --git a/src/yuzu/configuration/configure_debug_controller.h b/src/yuzu/configuration/configure_debug_controller.hindex d716edbc24..aaed717e28 100644--- a/src/yuzu/configuration/configure_debug_controller.h+++ b/src/yuzu/configuration/configure_debug_controller.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_debug_tab.cpp b/src/yuzu/configuration/configure_debug_tab.cppindex e69cca1ef1..d1ca4752a5 100644--- a/src/yuzu/configuration/configure_debug_tab.cpp+++ b/src/yuzu/configuration/configure_debug_tab.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include "ui_configure_debug_tab.h"diff --git a/src/yuzu/configuration/configure_debug_tab.h b/src/yuzu/configuration/configure_debug_tab.hindex 4f68260aa5..c0fd9f73fa 100644--- a/src/yuzu/configuration/configure_debug_tab.h+++ b/src/yuzu/configuration/configure_debug_tab.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_filesystem.cpp b/src/yuzu/configuration/configure_filesystem.cppindex d6fb43f8b8..ad19517546 100644--- a/src/yuzu/configuration/configure_filesystem.cpp+++ b/src/yuzu/configuration/configure_filesystem.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QFileDialog>#include <QMessageBox>diff --git a/src/yuzu/configuration/configure_filesystem.h b/src/yuzu/configuration/configure_filesystem.hindex b4f9355eb5..31d2f1d56d 100644--- a/src/yuzu/configuration/configure_filesystem.h+++ b/src/yuzu/configuration/configure_filesystem.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_graphics_advanced.cpp b/src/yuzu/configuration/configure_graphics_advanced.cppindex 30c5a3595b..7c3196c83a 100644--- a/src/yuzu/configuration/configure_graphics_advanced.cpp+++ b/src/yuzu/configuration/configure_graphics_advanced.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings.h"#include "core/core.h"diff --git a/src/yuzu/configuration/configure_graphics_advanced.h b/src/yuzu/configuration/configure_graphics_advanced.hindex 0a1724ce4a..1ef7bd9161 100644--- a/src/yuzu/configuration/configure_graphics_advanced.h+++ b/src/yuzu/configuration/configure_graphics_advanced.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_input_advanced.cpp b/src/yuzu/configuration/configure_input_advanced.cppindex 8fd1f4a389..f14bdc831f 100644--- a/src/yuzu/configuration/configure_input_advanced.cpp+++ b/src/yuzu/configuration/configure_input_advanced.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QColorDialog>#include "common/settings.h"diff --git a/src/yuzu/configuration/configure_input_advanced.h b/src/yuzu/configuration/configure_input_advanced.hindex 4472cb8469..644e56dd8c 100644--- a/src/yuzu/configuration/configure_input_advanced.h+++ b/src/yuzu/configuration/configure_input_advanced.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_input_player_widget.cpp b/src/yuzu/configuration/configure_input_player_widget.cppindex fb168b2ca8..11390fec06 100644--- a/src/yuzu/configuration/configure_input_player_widget.cpp+++ b/src/yuzu/configuration/configure_input_player_widget.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <QMenu>diff --git a/src/yuzu/configuration/configure_input_player_widget.h b/src/yuzu/configuration/configure_input_player_widget.hindex 3582ef77a7..b258c6d773 100644--- a/src/yuzu/configuration/configure_input_player_widget.h+++ b/src/yuzu/configuration/configure_input_player_widget.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_input_profile_dialog.cpp b/src/yuzu/configuration/configure_input_profile_dialog.cppindex 17bbe6b61f..58dffda51a 100644--- a/src/yuzu/configuration/configure_input_profile_dialog.cpp+++ b/src/yuzu/configuration/configure_input_profile_dialog.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "core/core.h"#include "ui_configure_input_profile_dialog.h"diff --git a/src/yuzu/configuration/configure_input_profile_dialog.h b/src/yuzu/configuration/configure_input_profile_dialog.hindex 84b1f6d1a1..956cdf954a 100644--- a/src/yuzu/configuration/configure_input_profile_dialog.h+++ b/src/yuzu/configuration/configure_input_profile_dialog.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_network.cpp b/src/yuzu/configuration/configure_network.cppindex 1f57995463..f87d3d53aa 100644--- a/src/yuzu/configuration/configure_network.cpp+++ b/src/yuzu/configuration/configure_network.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QtConcurrent/QtConcurrent>#include "common/settings.h"diff --git a/src/yuzu/configuration/configure_network.h b/src/yuzu/configuration/configure_network.hindex 1d07d0b537..e8245cfdc9 100644--- a/src/yuzu/configuration/configure_network.h+++ b/src/yuzu/configuration/configure_network.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_per_game.cpp b/src/yuzu/configuration/configure_per_game.cppindex 55b2aa74f5..54b3fe1509 100644--- a/src/yuzu/configuration/configure_per_game.cpp+++ b/src/yuzu/configuration/configure_per_game.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <filesystem>diff --git a/src/yuzu/configuration/configure_per_game.h b/src/yuzu/configuration/configure_per_game.hindex b34b28577f..e6dc055466 100644--- a/src/yuzu/configuration/configure_per_game.h+++ b/src/yuzu/configuration/configure_per_game.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_ringcon.cpp b/src/yuzu/configuration/configure_ringcon.cppindex f1cdd4fedf..4fcc22b7a8 100644--- a/src/yuzu/configuration/configure_ringcon.cpp+++ b/src/yuzu/configuration/configure_ringcon.cpp@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include <QKeyEvent>diff --git a/src/yuzu/configuration/configure_ringcon.h b/src/yuzu/configuration/configure_ringcon.hindex cf9e54f09f..38a9cb7166 100644--- a/src/yuzu/configuration/configure_ringcon.h+++ b/src/yuzu/configuration/configure_ringcon.h@@ -1,6 +1,5 @@-// Copyright 2022 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2022 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_tas.cpp b/src/yuzu/configuration/configure_tas.cppindex 979a8db61e..1edc5f1f30 100644--- a/src/yuzu/configuration/configure_tas.cpp+++ b/src/yuzu/configuration/configure_tas.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QFileDialog>#include <QMessageBox>diff --git a/src/yuzu/configuration/configure_tas.h b/src/yuzu/configuration/configure_tas.hindex 23a3673a73..4a6b0ba4ef 100644--- a/src/yuzu/configuration/configure_tas.h+++ b/src/yuzu/configuration/configure_tas.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/configure_vibration.cpp b/src/yuzu/configuration/configure_vibration.cppindex d134ed02fa..d765e808af 100644--- a/src/yuzu/configuration/configure_vibration.cpp+++ b/src/yuzu/configuration/configure_vibration.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings.h"#include "core/hid/emulated_controller.h"diff --git a/src/yuzu/configuration/configure_vibration.h b/src/yuzu/configuration/configure_vibration.hindex 50b8195fae..e9d05df51f 100644--- a/src/yuzu/configuration/configure_vibration.h+++ b/src/yuzu/configuration/configure_vibration.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/configuration/input_profiles.cpp b/src/yuzu/configuration/input_profiles.cppindex 38ea6c772c..20b22e7de7 100644--- a/src/yuzu/configuration/input_profiles.cpp+++ b/src/yuzu/configuration/input_profiles.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <fmt/format.h>diff --git a/src/yuzu/configuration/input_profiles.h b/src/yuzu/configuration/input_profiles.hindex 7353aa77b3..65fc9e62c5 100644--- a/src/yuzu/configuration/input_profiles.h+++ b/src/yuzu/configuration/input_profiles.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/debugger/console.cpp b/src/yuzu/debugger/console.cppindex 4b508b4661..1c1342ff18 100644--- a/src/yuzu/debugger/console.cpp+++ b/src/yuzu/debugger/console.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef _WIN32#include <windows.h>diff --git a/src/yuzu/debugger/console.h b/src/yuzu/debugger/console.hindex d1990c496d..fdb7d174cb 100644--- a/src/yuzu/debugger/console.h+++ b/src/yuzu/debugger/console.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/game_list_worker.cpp b/src/yuzu/game_list_worker.cppindex 5e9b3eee87..ca1899b5c2 100644--- a/src/yuzu/game_list_worker.cpp+++ b/src/yuzu/game_list_worker.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <memory>#include <string>diff --git a/src/yuzu/game_list_worker.h b/src/yuzu/game_list_worker.hindex 2e0f89cbdc..622d241fb3 100644--- a/src/yuzu/game_list_worker.h+++ b/src/yuzu/game_list_worker.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu emulator team-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/install_dialog.cpp b/src/yuzu/install_dialog.cppindex 55088bd87f..84ec4fe13d 100644--- a/src/yuzu/install_dialog.cpp+++ b/src/yuzu/install_dialog.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QCheckBox>#include <QDialogButtonBox>diff --git a/src/yuzu/install_dialog.h b/src/yuzu/install_dialog.hindex 68e03fe4e0..4c7c3c158b 100644--- a/src/yuzu/install_dialog.h+++ b/src/yuzu/install_dialog.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/loading_screen.cpp b/src/yuzu/loading_screen.cppindex cd2148deb0..edfb946a8b 100644--- a/src/yuzu/loading_screen.cpp+++ b/src/yuzu/loading_screen.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <unordered_map>#include <QBuffer>diff --git a/src/yuzu/loading_screen.h b/src/yuzu/loading_screen.hindex 29155a77c3..7c960ee72d 100644--- a/src/yuzu/loading_screen.h+++ b/src/yuzu/loading_screen.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/util/controller_navigation.cpp b/src/yuzu/util/controller_navigation.cppindex 9a1868cae7..d49ae67cdd 100644--- a/src/yuzu/util/controller_navigation.cpp+++ b/src/yuzu/util/controller_navigation.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include "common/settings_input.h"#include "core/hid/emulated_controller.h"diff --git a/src/yuzu/util/controller_navigation.h b/src/yuzu/util/controller_navigation.hindex 7c616a0889..86e210368f 100644--- a/src/yuzu/util/controller_navigation.h+++ b/src/yuzu/util/controller_navigation.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/util/limitable_input_dialog.cpp b/src/yuzu/util/limitable_input_dialog.cppindex 6fea41f95e..bbb370595b 100644--- a/src/yuzu/util/limitable_input_dialog.cpp+++ b/src/yuzu/util/limitable_input_dialog.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QDialogButtonBox>#include <QLabel>diff --git a/src/yuzu/util/limitable_input_dialog.h b/src/yuzu/util/limitable_input_dialog.hindex a8e31098b3..f261f1a0f4 100644--- a/src/yuzu/util/limitable_input_dialog.h+++ b/src/yuzu/util/limitable_input_dialog.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/util/overlay_dialog.cpp b/src/yuzu/util/overlay_dialog.cppindex c66dfbdff0..b279545128 100644--- a/src/yuzu/util/overlay_dialog.cpp+++ b/src/yuzu/util/overlay_dialog.cpp@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <QKeyEvent>#include <QScreen>diff --git a/src/yuzu/util/overlay_dialog.h b/src/yuzu/util/overlay_dialog.hindex 014c943c70..39c44393c3 100644--- a/src/yuzu/util/overlay_dialog.h+++ b/src/yuzu/util/overlay_dialog.h@@ -1,6 +1,5 @@-// Copyright 2021 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2021 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu/util/url_request_interceptor.cpp b/src/yuzu/util/url_request_interceptor.cppindex b637e771ef..996097e356 100644--- a/src/yuzu/util/url_request_interceptor.cpp+++ b/src/yuzu/util/url_request_interceptor.cpp@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#ifdef YUZU_USE_QT_WEB_ENGINEdiff --git a/src/yuzu/util/url_request_interceptor.h b/src/yuzu/util/url_request_interceptor.hindex 8a7f7499f7..9831e15233 100644--- a/src/yuzu/util/url_request_interceptor.h+++ b/src/yuzu/util/url_request_interceptor.h@@ -1,6 +1,5 @@-// Copyright 2020 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2020 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cppindex bbe90eb77d..8075c90825 100644--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.cpp@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <algorithm>#include <cstdlib>diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.hindex d7f2c83d8d..d159166fdf 100644--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_gl.h@@ -1,6 +1,5 @@-// Copyright 2019 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma oncediff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cppindex 49cd9213c8..d5fe35aa0f 100644--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.cpp@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#include <cstdlib>#include <memory>diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.h b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.hindex 3ea521b2a4..d92e3aaab3 100644--- a/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.h+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2_vk.h@@ -1,6 +1,5 @@-// Copyright 2018 yuzu Emulator Project-// Licensed under GPLv2 or any later version-// Refer to the license.txt file included.+// SPDX-FileCopyrightText: Copyright 2018 yuzu Emulator Project+// SPDX-License-Identifier: GPL-2.0-or-later#pragma once