diff options
| author | Tauwni <102470988+Tauwni@users.noreply.github.com> | 2026-11-28 03:59:20 +0100 |
|---|---|---|
| committer | Tauwni <102470988+Tauwni@users.noreply.github.com> | 2026-11-28 03:59:20 +0100 |
| commit | 9547582ffd1052d2d9613dbfd5bd5ef0e4ff4214 (patch) | |
| tree | 2a248f98e4649fb238b8d8a12ac89e4c939a6701 /runtime/src/main.cpp | |
| parent | 16a39af490f27dd0726f1c07fb25f6a211e4ec63 (diff) | |
| parent | 02f71ccfe78160997a02950607be583af87e1180 (diff) | |
Merge remote-tracking branch 'origin/main' into gpu-results-m3
Diffstat (limited to 'runtime/src/main.cpp')
| -rw-r--r-- | runtime/src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/src/main.cpp b/runtime/src/main.cpp index 6f7039099..c8545f338 100644 --- a/runtime/src/main.cpp +++ b/runtime/src/main.cpp | |||
| @@ -177,6 +177,7 @@ void start_title_peek(std::uint8_t* base) { | |||
| 177 | } // namespace | 177 | } // namespace |
| 178 | 178 | ||
| 179 | #include "base_reservation.h" | 179 | #include "base_reservation.h" |
| 180 | #include "compile_gate_policy.h" | ||
| 180 | #include "code_hooks.h" | 181 | #include "code_hooks.h" |
| 181 | #include "cpu_emulation.h" | 182 | #include "cpu_emulation.h" |
| 182 | #include "host_cpu.h" | 183 | #include "host_cpu.h" |
| @@ -390,6 +391,9 @@ int wmain(int argc, wchar_t** argv) { | |||
| 390 | if (argc > 1 && std::wstring(argv[1]) == L"--precompile-pipelines") return precompile_main(argc, argv); | 391 | if (argc > 1 && std::wstring(argv[1]) == L"--precompile-pipelines") return precompile_main(argc, argv); |
| 391 | if (argc > 1 && std::wstring(argv[1]) == L"--compile-server") return compile_server_main(argc, argv); | 392 | if (argc > 1 && std::wstring(argv[1]) == L"--compile-server") return compile_server_main(argc, argv); |
| 392 | #endif | 393 | #endif |
| 394 | // The title's process (not a build host above): LEONIDA_COMPILE_GATE=auto may calibrate the driver when the device | ||
| 395 | // is made (src/compile_gate_policy.h). | ||
| 396 | leonida::compile_gate_policy::calibration_allowed = true; | ||
| 393 | std::filesystem::path image, game_dir, overlay_dir, mods_dir; | 397 | std::filesystem::path image, game_dir, overlay_dir, mods_dir; |
| 394 | uint32_t archetype_lookup_rva = 0; // --archetype-lookup RVA[,ARG]: the game's archetype lookup by hash | 398 | uint32_t archetype_lookup_rva = 0; // --archetype-lookup RVA[,ARG]: the game's archetype lookup by hash |
| 395 | int archetype_lookup_arg = 0; | 399 | int archetype_lookup_arg = 0; |