More string swapping and cleaning up main().

This commit is contained in:
Ben Vanik
2014-08-16 16:34:04 -07:00
parent 18ee972b47
commit 7c5fa88661
41 changed files with 326 additions and 413 deletions

View File

@@ -14,6 +14,8 @@
#endif // !WIN32
#include <gflags/gflags.h>
#include <poly/main.h>
using namespace std;
using namespace xe;
@@ -273,7 +275,7 @@ int xenia_test(int argc, xechar_t **argv) {
if (argc >= 2) {
test_name = argv[1];
}
string test_name_str;
if (test_name) {
#if XE_WCHAR
@@ -290,4 +292,5 @@ int xenia_test(int argc, xechar_t **argv) {
return result_code;
}
XE_MAIN_THUNK(xenia_test, "xenia-test some.xex");
DEFINE_ENTRY_POINT(L"xenia-test", L"xenia-test some.xex", xenia_test);

View File

@@ -5,6 +5,12 @@
'target_name': 'xenia-test',
'type': 'executable',
'msvs_settings': {
'VCLinkerTool': {
'SubSystem': '1',
},
},
'dependencies': [
'xenia',
],