mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
JANITORIAL: Remove DLCMan.init() and its destroy call since it's not required
This commit is contained in:
parent
e24ad8fc20
commit
97aa1d602a
@ -72,12 +72,6 @@
|
||||
#include "backends/keymapper/keymap.h"
|
||||
#include "backends/keymapper/keymapper.h"
|
||||
|
||||
#ifdef USE_SCUMMVMDLC
|
||||
#ifdef USE_LIBCURL
|
||||
#include "backends/dlc/dlcmanager.h"
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#ifdef USE_CLOUD
|
||||
#ifdef USE_LIBCURL
|
||||
#include "backends/cloud/cloudmanager.h"
|
||||
@ -705,10 +699,6 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
|
||||
CloudMan.syncSaves();
|
||||
#endif
|
||||
|
||||
#if defined(USE_SCUMMVM) && defined(USE_LIBCURL)
|
||||
DLCMan.init();
|
||||
#endif
|
||||
|
||||
// Unless a game was specified, show the launcher dialog
|
||||
if (nullptr == ConfMan.getActiveDomain())
|
||||
launcherDialog();
|
||||
@ -857,11 +847,6 @@ extern "C" int scummvm_main(int argc, const char * const argv[]) {
|
||||
//I think it's important to destroy it after ConnectionManager
|
||||
Cloud::CloudManager::destroy();
|
||||
#endif
|
||||
#endif
|
||||
#ifdef USE_SCUMMVMDLC
|
||||
#ifdef USE_LIBCURL
|
||||
DLC::DLCManager::destroy();
|
||||
#endif
|
||||
#endif
|
||||
PluginManager::instance().unloadDetectionPlugin();
|
||||
PluginManager::instance().unloadAllPlugins();
|
||||
|
Loading…
x
Reference in New Issue
Block a user