From 1f34cb73cfee0ea650f3db4f8454a5b3683cb595 Mon Sep 17 00:00:00 2001 From: lizzie Date: Wed, 6 May 2026 15:47:35 +0000 Subject: [PATCH] checkout useless changs --- src/common/virtual_buffer.h | 3 +-- src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp | 1 - src/core/hle/kernel/k_page_bitmap.h | 1 - src/core/memory.cpp | 1 + 4 files changed, 2 insertions(+), 4 deletions(-) diff --git a/src/common/virtual_buffer.h b/src/common/virtual_buffer.h index adfdbb75d4..af51949a10 100644 --- a/src/common/virtual_buffer.h +++ b/src/common/virtual_buffer.h @@ -39,8 +39,7 @@ public: VirtualBuffer& operator=(const VirtualBuffer&) = delete; VirtualBuffer(VirtualBuffer&& other) noexcept - : alloc_size{std::exchange(other.alloc_size, 0)} - , base_ptr{std::exchange(other.base_ptr, nullptr)} + : alloc_size{std::exchange(other.alloc_size, 0)}, base_ptr{std::exchange(other.base_ptr), nullptr} {} VirtualBuffer& operator=(VirtualBuffer&& other) noexcept { diff --git a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp index 9d318d814d..3343d1d282 100644 --- a/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp +++ b/src/core/hle/kernel/board/nintendo/nx/k_system_control.cpp @@ -9,7 +9,6 @@ #include "common/literals.h" #include "common/random.h" #include "common/settings.h" -#include "common/random.h" #include "core/hle/kernel/board/nintendo/nx/k_system_control.h" #include "core/hle/kernel/board/nintendo/nx/secure_monitor.h" diff --git a/src/core/hle/kernel/k_page_bitmap.h b/src/core/hle/kernel/k_page_bitmap.h index b4c5f19ae4..27bd682c5c 100644 --- a/src/core/hle/kernel/k_page_bitmap.h +++ b/src/core/hle/kernel/k_page_bitmap.h @@ -16,7 +16,6 @@ #include "common/tiny_mt.h" #include "common/random.h" #include "core/hle/kernel/k_system_control.h" -#include "common/random.h" namespace Kernel { diff --git a/src/core/memory.cpp b/src/core/memory.cpp index b63a3acc63..3a9ea308a8 100644 --- a/src/core/memory.cpp +++ b/src/core/memory.cpp @@ -851,6 +851,7 @@ struct Memory::Impl { Core::System& system; Tegra::MaxwellDeviceMemoryManager* gpu_device_memory{}; Common::PageTable* current_page_table = nullptr; + std::array rasterizer_read_areas{}; std::array rasterizer_write_areas{}; std::array, Core::Hardware::NUM_CPU_CORES> scratch_buffers{};