mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-07-04 14:01:17 +12:00
Add support for choosing network service (incl Pretendo+Custom) (#302)
This commit is contained in:
parent
52cc7c5996
commit
b07e9efba4
19 changed files with 345 additions and 22 deletions
|
@ -8,6 +8,7 @@
|
|||
#include "Cafe/GameProfile/GameProfile.h"
|
||||
#include "Cafe/GraphicPack/GraphicPack2.h"
|
||||
#include "config/CemuConfig.h"
|
||||
#include "config/NetworkSettings.h"
|
||||
#include "gui/CemuApp.h"
|
||||
#include "Cafe/HW/Latte/Core/LatteOverlay.h"
|
||||
#include "config/LaunchSettings.h"
|
||||
|
@ -216,6 +217,8 @@ void mainEmulatorCommonInit()
|
|||
ExceptionHandler_init();
|
||||
// read config
|
||||
g_config.Load();
|
||||
if (NetworkConfig::XMLExists())
|
||||
n_config.Load();
|
||||
// symbol storage
|
||||
rplSymbolStorage_init();
|
||||
// static initialization
|
||||
|
@ -345,6 +348,7 @@ int wWinMain( _In_ HINSTANCE hInstance, _In_opt_ HINSTANCE hPrevInstance, _In_ L
|
|||
if (!LaunchSettings::HandleCommandline(lpCmdLine))
|
||||
return 0;
|
||||
ActiveSettings::LoadOnce();
|
||||
NetworkConfig::LoadOnce();
|
||||
HandlePostUpdate();
|
||||
return mainEmulatorHLE();
|
||||
}
|
||||
|
@ -356,6 +360,7 @@ int main(int argc, char* argv[])
|
|||
if (!LaunchSettings::HandleCommandline(argc, argv))
|
||||
return 0;
|
||||
ActiveSettings::LoadOnce();
|
||||
NetworkConfig::LoadOnce();
|
||||
HandlePostUpdate();
|
||||
return mainEmulatorHLE();
|
||||
}
|
||||
|
@ -371,7 +376,7 @@ int main(int argc, char *argv[])
|
|||
return 0;
|
||||
|
||||
ActiveSettings::LoadOnce();
|
||||
|
||||
NetworkConfig::LoadOnce();
|
||||
HandlePostUpdate();
|
||||
return mainEmulatorHLE();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue