diff options
Diffstat (limited to 'runtime/src/main.cpp')
| -rw-r--r-- | runtime/src/main.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp index 7d0dbfd88..63bd016e8 100644 --- a/runtime/src/main.cpp +++ b/runtime/src/main.cpp | |||
| @@ -177,8 +177,7 @@ int wmain(int argc, wchar_t** argv) { | |||
| 177 | } | 177 | } |
| 178 | rt::d3d12_trace::set_enabled(trace_d3d12); | 178 | rt::d3d12_trace::set_enabled(trace_d3d12); |
| 179 | // Slot 133 imports the title's pages; xmem commits them on first touch, so they are committed first. | 179 | // Slot 133 imports the title's pages; xmem commits them on first touch, so they are committed first. |
| 180 | // MERGE NOTE: main registers rt::xmem::commit_physical_range here for its commit-on-touch xmem. This branch keeps | 180 | rt::d3d12_xs::set_placed_at_va_pages_hook(&rt::xmem::commit_physical_range); |
| 181 | // the run-mapped xmem (pages are committed when allocated), so there is nothing to commit before slot 133. | ||
| 182 | if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) { | 181 | if (int trace_error = 0; !trace_file.empty() && !rt::startup_trace::open(trace_file.c_str(), &trace_error)) { |
| 183 | std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n" | 182 | std::fprintf(stderr, trace_error == EEXIST ? "error: the trace file already exists; --trace only creates a new file\n" |
| 184 | : "error: cannot create the trace file\n"); | 183 | : "error: cannot create the trace file\n"); |