diff options
Diffstat (limited to 'Source/Core/DolphinWX/src/MainNoGUI.cpp')
| -rw-r--r-- | Source/Core/DolphinWX/src/MainNoGUI.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/Core/DolphinWX/src/MainNoGUI.cpp b/Source/Core/DolphinWX/src/MainNoGUI.cpp index 57dcba4d7b..917e51ee35 100644 --- a/Source/Core/DolphinWX/src/MainNoGUI.cpp +++ b/Source/Core/DolphinWX/src/MainNoGUI.cpp @@ -67,11 +67,10 @@ int main(int argc, char* argv[]) puts("Please supply at least one argument - the ISO to boot.\n"); return(1); } - std::string temp; - temp.insert(0, argv[1]); //Need to convert to C++ style string first + std::string bootFile(argv[1]); DetectCPU(); - BootManager::BootCore(temp); + BootManager::BootCore(bootFile); usleep(2000 * 1000 * 1000); // while (!getch()) { // usleep(20); |
