overlay/games-emulation/yuzu/files/yuzu-0004-header-fixes.patch

101 lines
3.2 KiB
Diff
Executable file

From 697265492bac53e055180a93b85e8a89af18782b Mon Sep 17 00:00:00 2001
From: Andrew Udvare <audvare@gmail.com>
Date: Mon, 2 Dec 2024 19:08:08 -0500
Subject: [PATCH 6/6] Header fixes
---
src/core/frontend/applets/cabinet.h | 1 +
src/core/memory/dmnt_cheat_vm.cpp | 1 +
src/hid_core/resources/applet_resource.h | 1 +
src/hid_core/resources/npad/npad_vibration.h | 1 +
src/hid_core/resources/touch_screen/gesture.h | 1 +
src/hid_core/resources/touch_screen/touch_screen.h | 1 +
src/hid_core/resources/touch_screen/touch_screen_resource.h | 1 +
7 files changed, 7 insertions(+)
diff --git a/src/core/frontend/applets/cabinet.h b/src/core/frontend/applets/cabinet.h
index 6cb1300..a42119a 100644
--- a/src/core/frontend/applets/cabinet.h
+++ b/src/core/frontend/applets/cabinet.h
@@ -4,6 +4,7 @@
#pragma once
#include <functional>
+#include <memory>
#include "core/frontend/applets/applet.h"
#include "core/hle/service/nfp/nfp_types.h"
diff --git a/src/core/memory/dmnt_cheat_vm.cpp b/src/core/memory/dmnt_cheat_vm.cpp
index 6940add..9f5bfb8 100644
--- a/src/core/memory/dmnt_cheat_vm.cpp
+++ b/src/core/memory/dmnt_cheat_vm.cpp
@@ -1,5 +1,6 @@
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
+#include <memory>
#include "common/assert.h"
#include "common/scope_exit.h"
diff --git a/src/hid_core/resources/applet_resource.h b/src/hid_core/resources/applet_resource.h
index b37a4f4..0d55eeb 100644
--- a/src/hid_core/resources/applet_resource.h
+++ b/src/hid_core/resources/applet_resource.h
@@ -4,6 +4,7 @@
#pragma once
#include <array>
+#include <memory>
#include <mutex>
#include "common/bit_field.h"
diff --git a/src/hid_core/resources/npad/npad_vibration.h b/src/hid_core/resources/npad/npad_vibration.h
index ca631ed..d5f5ea8 100644
--- a/src/hid_core/resources/npad/npad_vibration.h
+++ b/src/hid_core/resources/npad/npad_vibration.h
@@ -3,6 +3,7 @@
#pragma once
+#include <memory>
#include <mutex>
#include "common/common_types.h"
diff --git a/src/hid_core/resources/touch_screen/gesture.h b/src/hid_core/resources/touch_screen/gesture.h
index b386644..4aa91aa 100644
--- a/src/hid_core/resources/touch_screen/gesture.h
+++ b/src/hid_core/resources/touch_screen/gesture.h
@@ -3,6 +3,7 @@
#pragma once
+#include <memory>
#include <mutex>
#include "common/common_types.h"
diff --git a/src/hid_core/resources/touch_screen/touch_screen.h b/src/hid_core/resources/touch_screen/touch_screen.h
index 2e9a36b..7dce254 100644
--- a/src/hid_core/resources/touch_screen/touch_screen.h
+++ b/src/hid_core/resources/touch_screen/touch_screen.h
@@ -3,6 +3,7 @@
#pragma once
+#include <memory>
#include <mutex>
#include "common/common_types.h"
diff --git a/src/hid_core/resources/touch_screen/touch_screen_resource.h b/src/hid_core/resources/touch_screen/touch_screen_resource.h
index a4e8f43..011c112 100644
--- a/src/hid_core/resources/touch_screen/touch_screen_resource.h
+++ b/src/hid_core/resources/touch_screen/touch_screen_resource.h
@@ -4,6 +4,7 @@
#pragma once
#include <array>
+#include <memory>
#include <mutex>
#include "common/common_types.h"
--
2.47.1