- 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:
@@ -35,6 +35,8 @@ Config::Config(std::string path)
|
||||
{
|
||||
this->configValues[i] = sysclkDefaultConfigValue((SysClkConfigValue)i);
|
||||
}
|
||||
|
||||
this->reverseNXRTMode = ReverseNX_NotFound;
|
||||
}
|
||||
|
||||
Config::~Config()
|
||||
@@ -480,3 +482,15 @@ bool Config::SetConfigValues(SysClkConfigValueList* configValues, bool immediate
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
ReverseNXMode Config::GetReverseNXRTModeAndClear() {
|
||||
std::scoped_lock lock{this->reverseNXRTMutex};
|
||||
ReverseNXMode mode = this->reverseNXRTMode;
|
||||
this->reverseNXRTMode = ReverseNX_GotValue;
|
||||
return mode;
|
||||
}
|
||||
|
||||
void Config::SetReverseNXRTMode(ReverseNXMode mode) {
|
||||
std::scoped_lock lock{this->reverseNXRTMutex};
|
||||
this->reverseNXRTMode = mode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user