diff options
| author | Leo Lam <leolino.lam@gmail.com> | 2017-06-06 16:51:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-06 16:51:43 +0200 |
| commit | 591aade9361be61ff51764ad0ad23999706eb0c6 (patch) | |
| tree | 3460c922ef3d82eedd4ae39f94abd0af702417b3 /Source/Core/DolphinNoGUI/MainNoGUI.cpp | |
| parent | 096399d3719769dde4004bcefec87a447fd32cf3 (diff) | |
| parent | d50b4406a66f1d9e09ad095df38fae9d57a3a729 (diff) | |
Merge pull request #5492 from leoetlino/boot-cleanup
Clean up the boot code
Diffstat (limited to 'Source/Core/DolphinNoGUI/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinNoGUI/MainNoGUI.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinNoGUI/MainNoGUI.cpp b/Source/Core/DolphinNoGUI/MainNoGUI.cpp index 528f2aa0e0..988518724a 100644 --- a/Source/Core/DolphinNoGUI/MainNoGUI.cpp +++ b/Source/Core/DolphinNoGUI/MainNoGUI.cpp @@ -18,6 +18,7 @@ #include "Common/MsgHandler.h" #include "Core/Analytics.h" +#include "Core/Boot/Boot.h" #include "Core/BootManager.h" #include "Core/ConfigManager.h" #include "Core/Core.h" @@ -422,7 +423,7 @@ int main(int argc, char* argv[]) DolphinAnalytics::Instance()->ReportDolphinStart("nogui"); - if (!BootManager::BootCore(boot_filename, SConfig::BOOT_DEFAULT)) + if (!BootManager::BootCore(BootParameters::GenerateFromFile(boot_filename))) { fprintf(stderr, "Could not boot %s\n", boot_filename.c_str()); return 1; |
