hocclk: build system changes
- update C++ version to GNU23, change how build scripts behave and more
This commit is contained in:
@@ -257,8 +257,8 @@ namespace config {
|
||||
|
||||
std::vector<std::string> keys;
|
||||
std::vector<std::string> values;
|
||||
keys.reserve(HocClkProfile_EnumMax * HocClkModule_EnumMax);
|
||||
values.reserve(HocClkProfile_EnumMax * HocClkModule_EnumMax);
|
||||
keys.reserve(+HocClkProfile_EnumMax * +HocClkModule_EnumMax);
|
||||
values.reserve(+HocClkProfile_EnumMax * +HocClkModule_EnumMax);
|
||||
|
||||
std::uint32_t* mhz = &profiles->mhz[0];
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <cstdarg>
|
||||
#include <hocclk.h>
|
||||
|
||||
#define FILE_CONFIG_DIR "/config/" TARGET
|
||||
#define FILE_CONFIG_DIR "/config/" CONFIG_DIR
|
||||
#define FILE_FLAG_CHECK_INTERVAL_NS (10000ULL * 1000000000ULL)
|
||||
#define FILE_CONTEXT_CSV_PATH FILE_CONFIG_DIR "/context.csv"
|
||||
#define FILE_LOG_FLAG_PATH FILE_CONFIG_DIR "/log.flag"
|
||||
|
||||
@@ -88,7 +88,7 @@ namespace integrations {
|
||||
|
||||
bool GetRETROSuperStatus() {
|
||||
struct stat st = {0};
|
||||
return stat("sdmc:/config/horizon-oc/retro.flag", &st) == 0;
|
||||
return stat("sdmc:/config/horizon-oc/retro.flag", &st) == 0; // TODO: unhardcode this
|
||||
}
|
||||
|
||||
void LoadSaltyNX() {
|
||||
|
||||
Reference in New Issue
Block a user