From e28eeba2e528abf3b433237c725aaf332dfb0df8 Mon Sep 17 00:00:00 2001 From: Ignacio Sanchez Gines <863613+drhelius@users.noreply.github.com> Date: Sat, 8 Jun 2024 20:37:53 +0200 Subject: [PATCH] Update hardware detection in about window --- platforms/desktop-shared/gui.cpp | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/platforms/desktop-shared/gui.cpp b/platforms/desktop-shared/gui.cpp index 02b1d94..15c9ddd 100644 --- a/platforms/desktop-shared/gui.cpp +++ b/platforms/desktop-shared/gui.cpp @@ -1367,10 +1367,10 @@ static void popup_modal_about(void) #if defined(_M_ARM64) ImGui::Text("Windows ARM64 build"); #endif - #if defined(_WIN64) + #if defined(_M_X64) ImGui::Text("Windows 64 bit build"); #endif - #if defined(_WIN32) + #if defined(_M_IX86) ImGui::Text("Windows 32 bit build"); #endif #if defined(__linux__) && defined(__x86_64__) @@ -1391,8 +1391,11 @@ static void popup_modal_about(void) #if defined(__APPLE__) && defined(__x86_64__) ImGui::Text("macOS build (Intel)"); #endif - #if defined(_MSC_VER) - ImGui::Text("Microsoft C++ %d.", _MSC_VER); + #if defined(_MSC_FULL_VER) + ImGui::Text("Microsoft C++ %d", _MSC_FULL_VER); + #endif + #if defined(__CLR_VER) + ImGui::Text("CLR version: %d", __CLR_VER); #endif #if defined(__MINGW32__) ImGui::Text("MinGW 32 bit (%d.%d)", __MINGW32_MAJOR_VERSION, __MINGW32_MINOR_VERSION); @@ -1406,6 +1409,9 @@ static void popup_modal_about(void) #if defined(__clang_version__) ImGui::Text("Clang %s", __clang_version__); #endif + #if defined(__TIMESTAMP__) + ImGui::Text("Generated on: %s", __TIMESTAMP__); + #endif ImGui::Separator();