From e1291d5b7c5bf913caf1cb988541d99113fb23fa Mon Sep 17 00:00:00 2001 From: Dreadmoth Date: Sun, 15 Feb 2026 04:26:15 +1000 Subject: [PATCH] Misc: Correct Hz symbol case --- pcsx2-qt/QtUtils.h | 2 +- pcsx2/Common.h | 4 ++-- pcsx2/GS/Renderers/Common/GSDevice.cpp | 2 +- pcsx2/GS/Renderers/Common/GSDevice.h | 2 +- pcsx2/USB/USB.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) diff --git a/pcsx2-qt/QtUtils.h b/pcsx2-qt/QtUtils.h index 2014e289de..bf2c629507 100644 --- a/pcsx2-qt/QtUtils.h +++ b/pcsx2-qt/QtUtils.h @@ -180,7 +180,7 @@ namespace QtUtils } wi.surface_refresh_rate = surface_refresh_rate.value(); - INFO_LOG("Surface refresh rate: {} hz", wi.surface_refresh_rate); + INFO_LOG("Surface refresh rate: {} Hz", wi.surface_refresh_rate); return wi; } diff --git a/pcsx2/Common.h b/pcsx2/Common.h index dbc6ba9aff..a3c11b8fdc 100644 --- a/pcsx2/Common.h +++ b/pcsx2/Common.h @@ -6,8 +6,8 @@ #include "common/Pcsx2Defs.h" static const u32 BIAS = 2; // Bus is half of the actual ps2 speed -static const u32 PS2CLK = 294912000; //hz /* 294.912 mhz */ -extern u32 PSXCLK; /* 36.864 Mhz */ +static const u32 PS2CLK = 294912000; //Hz /* 294.912 MHz */ +extern u32 PSXCLK; /* 36.864 MHz */ #include "Memory.h" diff --git a/pcsx2/GS/Renderers/Common/GSDevice.cpp b/pcsx2/GS/Renderers/Common/GSDevice.cpp index 6ba4ac81e8..5f338162d3 100644 --- a/pcsx2/GS/Renderers/Common/GSDevice.cpp +++ b/pcsx2/GS/Renderers/Common/GSDevice.cpp @@ -315,7 +315,7 @@ bool GSDevice::GetRequestedExclusiveFullscreenMode(u32* width, u32* height, floa std::string GSDevice::GetFullscreenModeString(u32 width, u32 height, float refresh_rate) { - return StringUtil::StdStringFromFormat("%u x %u @ %f hz", width, height, refresh_rate); + return StringUtil::StdStringFromFormat("%u x %u @ %f Hz", width, height, refresh_rate); } void GSDevice::GenerateExpansionIndexBuffer(void* buffer) diff --git a/pcsx2/GS/Renderers/Common/GSDevice.h b/pcsx2/GS/Renderers/Common/GSDevice.h index 74443d7b60..3b40b5c0fc 100644 --- a/pcsx2/GS/Renderers/Common/GSDevice.h +++ b/pcsx2/GS/Renderers/Common/GSDevice.h @@ -1464,7 +1464,7 @@ public: /// Returns a string representing the specified API. static const char* RenderAPIToString(RenderAPI api); - /// Parses the configured fullscreen mode into its components (width * height @ refresh hz) + /// Parses the configured fullscreen mode into its components (width * height @ refresh Hz) static bool GetRequestedExclusiveFullscreenMode(u32* width, u32* height, float* refresh_rate); /// Converts a fullscreen mode to a string. diff --git a/pcsx2/USB/USB.cpp b/pcsx2/USB/USB.cpp index faf5834cea..053854a952 100644 --- a/pcsx2/USB/USB.cpp +++ b/pcsx2/USB/USB.cpp @@ -20,7 +20,7 @@ #include #include -#define PSXCLK 36864000 /* 36.864 Mhz */ +#define PSXCLK 36864000 /* 36.864 MHz */ namespace USB {