summaryrefslogtreecommitdiff
path: root/src/core/hle/kernel
diff options
context:
space:
mode:
authorGravatar Lioncash2020-11-08 15:49:45 -0500
committerGravatar Lioncash2020-11-08 15:58:11 -0500
commitda7be67dafc90c84529304cfef57dfa5f9291017 (patch)
tree14fb629c96e2c091be2c800f13dc8aff67eeb79f /src/core/hle/kernel
parentMerge pull request #4903 from bunnei/remove-gpu-integrity (diff)
downloadyuzu-da7be67dafc90c84529304cfef57dfa5f9291017.tar.gz
yuzu-da7be67dafc90c84529304cfef57dfa5f9291017.tar.xz
yuzu-da7be67dafc90c84529304cfef57dfa5f9291017.zip
ipc_helpers: Remove usage of the global system instance
Resolves numerous deprecation warnings throughout the codebase due to inclusion of this header. Now building core should be significantly less noisy (and also relying on less global state). This also uncovered quite a few modules that were relying on indirect includes, which have also been fixed.
Diffstat (limited to 'src/core/hle/kernel')
-rw-r--r--src/core/hle/kernel/hle_ipc.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/hle/kernel/hle_ipc.h b/src/core/hle/kernel/hle_ipc.h
index f3277b766..c31a65476 100644
--- a/src/core/hle/kernel/hle_ipc.h
+++ b/src/core/hle/kernel/hle_ipc.h
@@ -24,6 +24,10 @@ namespace Core::Memory {
24class Memory; 24class Memory;
25} 25}
26 26
27namespace IPC {
28class ResponseBuilder;
29}
30
27namespace Service { 31namespace Service {
28class ServiceFrameworkBase; 32class ServiceFrameworkBase;
29} 33}
@@ -287,6 +291,8 @@ public:
287 } 291 }
288 292
289private: 293private:
294 friend class IPC::ResponseBuilder;
295
290 void ParseCommandBuffer(const HandleTable& handle_table, u32_le* src_cmdbuf, bool incoming); 296 void ParseCommandBuffer(const HandleTable& handle_table, u32_le* src_cmdbuf, bool incoming);
291 297
292 std::array<u32, IPC::COMMAND_BUFFER_LENGTH> cmd_buf; 298 std::array<u32, IPC::COMMAND_BUFFER_LENGTH> cmd_buf;