Refactor more GX2 code to use LatteReg.h

This commit is contained in:
Exzap
2023-09-14 20:52:40 +02:00
parent 96800c6f97
commit 524188bb7a
10 changed files with 536 additions and 262 deletions
+1 -1
View File
@@ -487,7 +487,7 @@ namespace CafeSystem
#if BOOST_OS_WINDOWS
std::string GetWindowsNamedVersion(uint32& buildNumber)
{
static char productName[256];
char productName[256];
HKEY hKey;
DWORD dwType = REG_SZ;
DWORD dwSize = sizeof(productName);