- IPC service for handling ReverseNX-RT communication, reducing I/O requests
- Set config for "Auto CPU Boost"/"Sync ReverseNX Mode" in overlay - Apply hardened freq cap to handheld mode (CPU@1963MHz, GPU@921MHz)
This commit is contained in:
@@ -18,9 +18,7 @@ static LockableMutex g_log_mutex;
|
||||
static LockableMutex g_csv_mutex;
|
||||
static std::atomic_bool g_has_initialized = false;
|
||||
static bool g_log_enabled = false;
|
||||
static bool g_boost_enabled = false;
|
||||
static bool g_reversenx_tool_exist = false;
|
||||
static bool g_reversenx_sync_enabled = false;
|
||||
static std::uint64_t g_last_flag_check = 0;
|
||||
|
||||
extern "C" void __libnx_init_time(void);
|
||||
@@ -136,20 +134,6 @@ void FileUtils::RefreshFlags(bool force)
|
||||
void FileUtils::InitCheckFlags()
|
||||
{
|
||||
FILE *file;
|
||||
file = fopen(FILE_BOOST_FLAG_PATH, "r");
|
||||
if (file)
|
||||
{
|
||||
g_boost_enabled = true;
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
file = fopen(FILE_REVERSENX_SYNC_FLAG_PATH, "r");
|
||||
if (file)
|
||||
{
|
||||
g_reversenx_sync_enabled = true;
|
||||
fclose(file);
|
||||
}
|
||||
|
||||
file = fopen(FILE_SALTYNX_PATH, "r");
|
||||
if (file)
|
||||
{
|
||||
@@ -158,21 +142,11 @@ void FileUtils::InitCheckFlags()
|
||||
}
|
||||
}
|
||||
|
||||
bool FileUtils::IsBoostEnabled()
|
||||
{
|
||||
return g_boost_enabled;
|
||||
}
|
||||
|
||||
bool FileUtils::ExistReverseNXTool()
|
||||
{
|
||||
return g_reversenx_tool_exist;
|
||||
}
|
||||
|
||||
bool FileUtils::IsReverseNXSyncEnabled()
|
||||
{
|
||||
return g_reversenx_sync_enabled;
|
||||
}
|
||||
|
||||
void FileUtils::InitializeAsync()
|
||||
{
|
||||
Thread initThread = {0};
|
||||
|
||||
Reference in New Issue
Block a user