From 7246a64ae5aea5771b7cd0d9efcd6e6993901e8f Mon Sep 17 00:00:00 2001 From: lightningterror <18107717+lightningterror@users.noreply.github.com> Date: Mon, 21 Apr 2025 16:32:24 +0200 Subject: [PATCH] VMManager: Also add GB for the ram info. --- pcsx2/VMManager.cpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pcsx2/VMManager.cpp b/pcsx2/VMManager.cpp index 95c9e149ff..22bba75701 100644 --- a/pcsx2/VMManager.cpp +++ b/pcsx2/VMManager.cpp @@ -2504,11 +2504,13 @@ void VMManager::LogCPUCapabilities() Console.WriteLnFmt( " Operating System = {}\n" - " Available RAM = {} MB\n" - " Physical RAM = {} MB\n", + " Available RAM = {} MB ({:.2f} GB)\n" + " Physical RAM = {} MB ({:.2f} GB)\n", GetOSVersionString(), GetAvailablePhysicalMemory() / _1mb, - GetPhysicalMemory() / _1mb); + static_cast(GetAvailablePhysicalMemory()) / static_cast(_1gb), + GetPhysicalMemory() / _1mb, + static_cast(GetPhysicalMemory()) / static_cast(_1gb)); Console.WriteLnFmt(" Processor = {}", cpuinfo_get_package(0)->name); Console.WriteLnFmt(" Core Count = {} cores", cpuinfo_get_cores_count());