From ca7cce079e9f9328b47104b10698103c7900a47b Mon Sep 17 00:00:00 2001 From: kalaposfos13 <153381648+kalaposfos13@users.noreply.github.com> Date: Wed, 16 Jul 2025 14:35:11 +0200 Subject: [PATCH] Fine clang, you win --- src/core/linker.cpp | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/src/core/linker.cpp b/src/core/linker.cpp index 80c3f5ea3..482a06e2c 100644 --- a/src/core/linker.cpp +++ b/src/core/linker.cpp @@ -51,15 +51,16 @@ static PS4_SYSV_ABI void* RunMainEntry [[noreturn]] (EntryParams* params) { #endif Linker::Linker() - : memory{Memory::Instance()}, heap_api{new HeapAPI{.heap_malloc = &Libraries::LibcInternal::internal_malloc, - .heap_free = &Libraries::LibcInternal::internal_free, - .heap_calloc = &Libraries::LibcInternal::internal_calloc, - .heap_realloc = &Libraries::LibcInternal::internal_realloc, - .heap_memalign = nullptr, - .heap_posix_memalign = Libraries::LibcInternal::internal_posix_memalign, - .heap_reallocalign = nullptr, - .heap_malloc_stats = nullptr, - .heap_malloc_usable_size = nullptr}} {} + : memory{Memory::Instance()}, + heap_api{new HeapAPI{.heap_malloc = &Libraries::LibcInternal::internal_malloc, + .heap_free = &Libraries::LibcInternal::internal_free, + .heap_calloc = &Libraries::LibcInternal::internal_calloc, + .heap_realloc = &Libraries::LibcInternal::internal_realloc, + .heap_memalign = nullptr, + .heap_posix_memalign = Libraries::LibcInternal::internal_posix_memalign, + .heap_reallocalign = nullptr, + .heap_malloc_stats = nullptr, + .heap_malloc_usable_size = nullptr}} {} Linker::~Linker() = default;