summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/k_page_linked_list.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/hle/kernel/k_page_linked_list.h')
-rw-r--r--src/core/hle/kernel/k_page_linked_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/kernel/k_page_linked_list.h b/src/core/hle/kernel/k_page_linked_list.h
index dfdac5321..3362fb236 100644
--- a/src/core/hle/kernel/k_page_linked_list.h
+++ b/src/core/hle/kernel/k_page_linked_list.h
@@ -71,7 +71,7 @@ public:
ResultCode AddBlock(u64 address, u64 num_pages) {
if (!num_pages) {
- return RESULT_SUCCESS;
+ return ResultSuccess;
}
if (!nodes.empty()) {
const auto node = nodes.back();
@@ -82,7 +82,7 @@ public:
}
}
nodes.push_back({address, num_pages});
- return RESULT_SUCCESS;
+ return ResultSuccess;
}
private: