mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-11-30 09:43:45 +01:00
Refactor a bit, preparing for async download
This commit is contained in:
1 parent
a0327ff5d5
commit
cc49e5079d
6 files changed
+36
-35
No files matched your search
@@ -327,6 +327,8 @@ static void ClearFailedGPUBackends() {
|
||||
File::Delete(failedBackendsFile);
|
||||
}
|
||||
|
||||
void AdhocLoadServerList();
|
||||
|
||||
void NativeInit(int argc, const char *argv[], const char *savegame_dir, const char *external_dir, const char *cache_dir) {
|
||||
net::Init(); // This needs to happen before we load the config. So on Windows we also run it in Main. It's fine to call multiple times.
|
||||
|
||||
@@ -346,6 +348,9 @@ void NativeInit(int argc, const char *argv[], const char *savegame_dir, const ch
|
||||
// Make sure UI state is MENU.
|
||||
ResetUIState();
|
||||
|
||||
// We kind of have to do this during startup, since these are visible in settings.
|
||||
AdhocLoadServerList();
|
||||
|
||||
bool skipLogo = false;
|
||||
setlocale( LC_ALL, "C" );
|
||||
std::string user_data_path = savegame_dir;
|
||||
|
||||
Reference in new issue
Block a user