aboutsummaryrefslogtreecommitdiff
path: root/src/core/hle/kernel/code_set.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/code_set.h')
-rw-r--r--src/core/hle/kernel/code_set.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/core/hle/kernel/code_set.h b/src/core/hle/kernel/code_set.h
index 4d2d0098e7..1416fc52b1 100644
--- a/src/core/hle/kernel/code_set.h
+++ b/src/core/hle/kernel/code_set.h
@@ -1,3 +1,6 @@
+// SPDX-FileCopyrightText: Copyright 2026 Eden Emulator Project
+// SPDX-License-Identifier: GPL-3.0-or-later
+
// SPDX-FileCopyrightText: Copyright 2019 yuzu Emulator Project
// SPDX-License-Identifier: GPL-2.0-or-later
@@ -83,6 +86,14 @@ struct CodeSet final {
const Segment& PatchSegment() const {
return patch_segment;
}
+
+ Segment& PostPatchSegment() {
+ return post_patch_segment;
+ }
+
+ const Segment& PostPatchSegment() const {
+ return post_patch_segment;
+ }
#endif
/// The overall data that backs this code set.
@@ -93,6 +104,7 @@ struct CodeSet final {
#ifdef HAS_NCE
Segment patch_segment;
+ Segment post_patch_segment;
#endif
/// The entry point address for this code set.