mirror of
https://github.com/cemu-project/Cemu.git
synced 2026-09-28 12:06:29 -05:00
Add support for choosing network service (incl Pretendo+Custom) (#302)
This commit is contained in:
@@ -20,7 +20,7 @@ void ActiveSettings::LoadOnce()
|
||||
|
||||
g_config.SetFilename(GetPath("settings.xml").generic_wstring());
|
||||
g_config.Load();
|
||||
|
||||
LaunchSettings::ChangeNetworkServiceURL(GetConfig().account.active_service);
|
||||
std::wstring additionalErrorInfo;
|
||||
s_has_required_online_files = iosuCrypt_checkRequirementsForOnlineMode(additionalErrorInfo) == IOS_CRYPTO_ONLINE_REQ_OK;
|
||||
}
|
||||
@@ -121,6 +121,10 @@ bool ActiveSettings::HasRequiredOnlineFiles()
|
||||
return s_has_required_online_files;
|
||||
}
|
||||
|
||||
NetworkService ActiveSettings::GetNetworkService() {
|
||||
return static_cast<NetworkService>(GetConfig().account.active_service.GetValue());
|
||||
}
|
||||
|
||||
bool ActiveSettings::DumpShadersEnabled()
|
||||
{
|
||||
return s_dump_shaders;
|
||||
|
||||
Reference in New Issue
Block a user