mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Update to latest version of cxxopts
This commit is contained in:
parent
b4c175d8a3
commit
bae63b95c5
|
|
@ -8,7 +8,7 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include "xenia/base/cvar.h"
|
#include "xenia/base/cvar.h"
|
||||||
|
#include <iostream>
|
||||||
#define UTF_CPP_CPLUSPLUS 201703L
|
#define UTF_CPP_CPLUSPLUS 201703L
|
||||||
#include "third_party/utfcpp/source/utf8.h"
|
#include "third_party/utfcpp/source/utf8.h"
|
||||||
|
|
||||||
|
|
@ -87,7 +87,7 @@ void ParseLaunchArguments(int& argc, char**& argv,
|
||||||
configVar->LoadFromLaunchOptions(&result);
|
configVar->LoadFromLaunchOptions(&result);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (const cxxopts::OptionException& e) {
|
} catch (const cxxopts::exceptions::exception& e) {
|
||||||
xe::AttachConsole();
|
xe::AttachConsole();
|
||||||
if (xe::has_console_attached()) {
|
if (xe::has_console_attached()) {
|
||||||
std::cout << e.what() << std::endl;
|
std::cout << e.what() << std::endl;
|
||||||
|
|
|
||||||
2
third_party/cxxopts
vendored
2
third_party/cxxopts
vendored
|
|
@ -1 +1 @@
|
||||||
Subproject commit 48e265dc4b347d3178e4458de81704e0d88047b2
|
Subproject commit 2e3c6991d33811878ebcc0839d3815850d129b3a
|
||||||
Loading…
Reference in a new issue