Fix tW2R and tR2W patch and multiple ram freqs
This commit is contained in:
@@ -33,7 +33,7 @@ AboutTab::AboutTab()
|
||||
// Subtitle
|
||||
brls::Label *subTitle = new brls::Label(
|
||||
brls::LabelStyle::REGULAR,
|
||||
"Nintendo Switch overclocking / underclocking system module and frontend app by the RetroNX Team",
|
||||
"Nittendo Switch Overclocking tool by Souldbminer based on sys-clk by RetroNX",
|
||||
true
|
||||
);
|
||||
subTitle->setHorizontalAlign(NVG_ALIGN_CENTER);
|
||||
@@ -42,9 +42,9 @@ AboutTab::AboutTab()
|
||||
// Copyright
|
||||
brls::Label *copyright = new brls::Label(
|
||||
brls::LabelStyle::DESCRIPTION,
|
||||
"System module licensed under the Beerware license\n" \
|
||||
"System module licensed under the GPLv2\n" \
|
||||
"Frontend app licensed under GPL-3.0\n" \
|
||||
"\u00A9 2019 - 2020 natinusala, p-sam, m4xw",
|
||||
"\u00A9 2019 - 2020 natinusala, p-sam, m4xw, \u00A9 2025 Souldbminer",
|
||||
true
|
||||
);
|
||||
copyright->setHorizontalAlign(NVG_ALIGN_CENTER);
|
||||
@@ -54,9 +54,9 @@ AboutTab::AboutTab()
|
||||
this->addView(new brls::Header("Links and Resources"));
|
||||
brls::Label *links = new brls::Label(
|
||||
brls::LabelStyle::SMALL,
|
||||
"\uE016 User guide and code source can be found on our GitHub repository\n" \
|
||||
"\uE016 The sys-clk manager is powered by Borealis, an hardware accelerated UI library\n" \
|
||||
"\uE016 Join the RetroNX Discord server for support, to request features or just hang out!",
|
||||
"\uE016 User guide and code source can be found on my GitHub repository (souldbminersmwc/horizon-oc)\n" \
|
||||
"\uE016 The Horizon OC manager is powered by Borealis, an hardware accelerated UI library\n" \
|
||||
"\uE016 Join the OC Discord server for support, to request features or just hang out!",
|
||||
true
|
||||
);
|
||||
this->addView(links);
|
||||
|
||||
@@ -54,24 +54,24 @@ int main(int argc, char* argv[])
|
||||
// Check that sys-clk is running
|
||||
if (!sysclkIpcRunning())
|
||||
{
|
||||
brls::Logger::error("sys-clk is not running");
|
||||
brls::Application::crash("sys-clk does not seem to be running, please check that it is correctly installed and enabled.");
|
||||
brls::Logger::error("Horizon OC is not running");
|
||||
brls::Application::crash("Horizon OC does not seem to be running, please check that it is correctly installed and enabled.");
|
||||
}
|
||||
// Initialize sys-clk IPC client
|
||||
else if (R_FAILED(sysclkIpcInitialize()) || R_FAILED(sysclkIpcGetAPIVersion(&apiVersion)))
|
||||
{
|
||||
brls::Logger::error("Unable to initialize sys-clk IPC client");
|
||||
brls::Application::crash("Could not connect to sys-clk, please check that it is correctly installed and enabled.");
|
||||
brls::Logger::error("Unable to initialize Horizon OC IPC client");
|
||||
brls::Application::crash("Could not connect to Horizon OC, please check that it is correctly installed and enabled.");
|
||||
}
|
||||
else if (SYSCLK_IPC_API_VERSION != apiVersion)
|
||||
{
|
||||
brls::Logger::error("sys-clk IPC API version mismatch (expected: %u; actual: %u)", SYSCLK_IPC_API_VERSION, apiVersion);
|
||||
brls::Application::crash("The manager is not compatible with the currently running sysmodule of sys-clk, please check that you have correctly installed the latest version (reboot?).");
|
||||
brls::Logger::error("Horizon OC IPC API version mismatch (expected: %u; actual: %u)", SYSCLK_IPC_API_VERSION, apiVersion);
|
||||
brls::Application::crash("The manager is not compatible with the currently running sysmodule of Horizon OC, please check that you have correctly installed the latest version (reboot?).");
|
||||
}
|
||||
else if (R_FAILED(cacheFreqList()))
|
||||
{
|
||||
brls::Logger::error("Failed to get the freq list from sys-clk");
|
||||
brls::Application::crash("Failed to get the freq list from sys-clk, please check that you have correctly installed the latest version (reboot?).");
|
||||
brls::Logger::error("Failed to get the freq list from Horizon OC");
|
||||
brls::Application::crash("Failed to get the freq list from Horizon OC, please check that you have correctly installed the latest version (reboot?).");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -84,7 +84,7 @@ int main(int argc, char* argv[])
|
||||
}
|
||||
else
|
||||
{
|
||||
brls::Logger::error("Unable to get sys-clk version string");
|
||||
brls::Logger::error("Unable to get Horizon OC version string");
|
||||
brls::Application::setCommonFooter("[unknown]");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user