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
This commit is contained in:
Maarten ter Huurne 2008-08-25 08:51:08 +00:00
parent 639ef6e27b
commit 8a06c0fdc7
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,7 @@
#include "Globals.h" #include "Globals.h"
#include "Common.h" #include "Common.h"
#include "ISOFile.h" #include "ISOFile.h"
#include "CPUDetect.h"
#include "BootManager.h" #include "BootManager.h"
void* g_pCodeWindow = NULL; void* g_pCodeWindow = NULL;
@ -69,6 +70,7 @@ int main(int argc, char* argv[])
std::string temp; std::string temp;
temp.insert(0, argv[1]); //Need to convert to C++ style string first temp.insert(0, argv[1]); //Need to convert to C++ style string first
DetectCPU();
BootManager::BootCore(temp); BootManager::BootCore(temp);
usleep(2000 * 1000 * 1000); usleep(2000 * 1000 * 1000);
// while (!getch()) { // while (!getch()) {