summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
authorMaarten ter Huurne <maarten@treewalker.org>2008-08-25 08:51:08 +0000
committerMaarten ter Huurne <maarten@treewalker.org>2008-08-25 08:51:08 +0000
commit8a06c0fdc74b4b9e159d1d18a67ae66e36cbf8fe (patch)
treea442e7682a5de7188ae9dd5121863be78c90ce3e /Source
parent639ef6e27b0a0345c61b1d4257314fc8c1427591 (diff)
Added call to DetectCPU() which is present in "Main.cpp" but was lacking in "MainNoGUI.cpp".
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@309 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source')
-rw-r--r--Source/Core/DolphinWX/src/MainNoGUI.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/Core/DolphinWX/src/MainNoGUI.cpp b/Source/Core/DolphinWX/src/MainNoGUI.cpp
index 76b2341c79..e4b7263be0 100644
--- a/Source/Core/DolphinWX/src/MainNoGUI.cpp
+++ b/Source/Core/DolphinWX/src/MainNoGUI.cpp
@@ -8,6 +8,7 @@
#include "Globals.h"
#include "Common.h"
#include "ISOFile.h"
+#include "CPUDetect.h"
#include "BootManager.h"
void* g_pCodeWindow = NULL;
@@ -69,6 +70,7 @@ int main(int argc, char* argv[])
std::string temp;
temp.insert(0, argv[1]); //Need to convert to C++ style string first
+ DetectCPU();
BootManager::BootCore(temp);
usleep(2000 * 1000 * 1000);
// while (!getch()) {