diff options
author | german77 <juangerman-13@hotmail.com> | 2022-06-26 06:15:31 +0200 |
---|---|---|
committer | german77 <juangerman-13@hotmail.com> | 2022-06-27 03:21:45 +0200 |
commit | 7b48e7b363245fd88685f70c0ea39b4374688e3c (patch) | |
tree | 4ce180cfc395947bf2b09f039e39beea171e22ad /src/core/hle/kernel/k_page_linked_list.h | |
parent | core: Replace all instances of ResultCode with Result (diff) | |
download | yuzu-7b48e7b363245fd88685f70c0ea39b4374688e3c.tar yuzu-7b48e7b363245fd88685f70c0ea39b4374688e3c.tar.gz yuzu-7b48e7b363245fd88685f70c0ea39b4374688e3c.tar.bz2 yuzu-7b48e7b363245fd88685f70c0ea39b4374688e3c.tar.lz yuzu-7b48e7b363245fd88685f70c0ea39b4374688e3c.tar.xz yuzu-7b48e7b363245fd88685f70c0ea39b4374688e3c.tar.zst yuzu-7b48e7b363245fd88685f70c0ea39b4374688e3c.zip |
Diffstat (limited to '')
-rw-r--r-- | src/core/hle/kernel/k_page_group.h (renamed from src/core/hle/kernel/k_page_linked_list.h) | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/hle/kernel/k_page_linked_list.h b/src/core/hle/kernel/k_page_group.h index fc2ef9698..968753992 100644 --- a/src/core/hle/kernel/k_page_linked_list.h +++ b/src/core/hle/kernel/k_page_group.h @@ -12,7 +12,7 @@ namespace Kernel { -class KPageLinkedList final { +class KPageGroup final { public: class Node final { public: @@ -36,8 +36,8 @@ public: }; public: - KPageLinkedList() = default; - KPageLinkedList(u64 address, u64 num_pages) { + KPageGroup() = default; + KPageGroup(u64 address, u64 num_pages) { ASSERT(AddBlock(address, num_pages).IsSuccess()); } @@ -57,7 +57,7 @@ public: return num_pages; } - bool IsEqual(KPageLinkedList& other) const { + bool IsEqual(KPageGroup& other) const { auto this_node = nodes.begin(); auto other_node = other.nodes.begin(); while (this_node != nodes.end() && other_node != other.nodes.end()) { |