cleanup code

This commit is contained in:
SSimco
2025-03-10 18:04:26 +02:00
parent 72cf7c7587
commit 8c74158078
59 changed files with 738 additions and 13112 deletions
+7 -2
View File
@@ -72,6 +72,10 @@
#include <sys/sysctl.h>
#endif
#if __ANDROID__
#include <android/api-level.h>
#endif
std::string _pathToExecutable;
std::string _pathToBaseExecutable;
@@ -518,8 +522,9 @@ namespace CafeSystem
{
std::string buffer;
const char* platform = NULL;
#if __ANDROID__
platform = "Android";
#if __ANDROID__
buffer = fmt::format("Android (API level {})", android_get_device_api_level());;
platform = buffer.c_str();
#elif BOOST_OS_WINDOWS
uint32 buildNumber;
std::string windowsVersionName = GetWindowsNamedVersion(buildNumber);