Removing PAL.
This commit is contained in:
@@ -23,14 +23,6 @@ namespace xc {
|
||||
using xdb::PostmortemDebugTarget;
|
||||
|
||||
int main(std::vector<std::wstring>& args) {
|
||||
// Create platform abstraction layer.
|
||||
xe_pal_options_t pal_options;
|
||||
xe_zero_struct(&pal_options, sizeof(pal_options));
|
||||
if (xe_pal_init(pal_options)) {
|
||||
XEFATAL("Failed to initialize PAL");
|
||||
return 1;
|
||||
}
|
||||
|
||||
auto left_target = std::make_unique<PostmortemDebugTarget>();
|
||||
if (!left_target->LoadTrace(poly::to_wstring(FLAGS_trace_file_left))) {
|
||||
XEFATAL("Unable to load left trace file: %s",
|
||||
|
||||
@@ -24,14 +24,6 @@ DEFINE_string(content_file, "",
|
||||
namespace xdb {
|
||||
|
||||
int main(std::vector<std::wstring>& args) {
|
||||
// Create platform abstraction layer.
|
||||
xe_pal_options_t pal_options;
|
||||
xe_zero_struct(&pal_options, sizeof(pal_options));
|
||||
if (xe_pal_init(pal_options)) {
|
||||
XEFATAL("Failed to initialize PAL");
|
||||
return 1;
|
||||
}
|
||||
|
||||
wxInitializer init;
|
||||
if (!init.IsOk()) {
|
||||
XEFATAL("Failed to initialize wxWidgets");
|
||||
|
||||
@@ -38,14 +38,6 @@ int xenia_run(std::vector<std::wstring>& args) {
|
||||
// Normalize the path and make absolute.
|
||||
std::wstring abs_path = poly::to_absolute_path(path);
|
||||
|
||||
// Create platform abstraction layer.
|
||||
xe_pal_options_t pal_options;
|
||||
xe_zero_struct(&pal_options, sizeof(pal_options));
|
||||
if (xe_pal_init(pal_options)) {
|
||||
XELOGE("Failed to initialize PAL");
|
||||
return 1;
|
||||
}
|
||||
|
||||
// Create the emulator.
|
||||
auto emulator = std::make_unique<Emulator>(L"");
|
||||
X_STATUS result = emulator->Setup();
|
||||
|
||||
@@ -229,10 +229,6 @@ int run_tests(std::string& test_name) {
|
||||
|
||||
vector<string> test_files;
|
||||
|
||||
xe_pal_options_t pal_options;
|
||||
xe_zero_struct(&pal_options, sizeof(pal_options));
|
||||
XEEXPECTZERO(xe_pal_init(pal_options));
|
||||
|
||||
XEEXPECTZERO(discover_tests(FLAGS_test_path, test_files));
|
||||
if (!test_files.size()) {
|
||||
printf("No tests discovered - invalid path?\n");
|
||||
|
||||
Reference in New Issue
Block a user