/** ****************************************************************************** * Xenia : Xbox 360 Emulator Research Project * ****************************************************************************** * Copyright 2014 Ben Vanik. All rights reserved. * * Released under the BSD license - see LICENSE in the root for more details. * ****************************************************************************** */ #include #include #include #include #include #include DEFINE_string(trace_file_left, "", "Trace file to compare (original)."); DEFINE_string(trace_file_right, "", "Trace file to compare (new)."); namespace xc { using xdb::PostmortemDebugTarget; int main(std::vector& args) { auto left_target = std::make_unique(); if (!left_target->LoadTrace(poly::to_wstring(FLAGS_trace_file_left))) { PFATAL("Unable to load left trace file: %s", FLAGS_trace_file_left.c_str()); } auto right_target = std::make_unique(); if (!right_target->LoadTrace(poly::to_wstring(FLAGS_trace_file_right))) { PFATAL("Unable to load right trace file: %s", FLAGS_trace_file_right.c_str()); } return 0; } } // namespace xc DEFINE_ENTRY_POINT(L"xenia-compare", L"xenia-compare", xc::main);