diff --git a/src/core/core.cpp b/src/core/core.cpp index 1a5333cdf7..328435552c 100644 --- a/src/core/core.cpp +++ b/src/core/core.cpp @@ -330,11 +330,13 @@ struct System::Impl { } LOG_INFO(Core, "Loading {} ({:016X}) ...", name, params.program_id); + LOG_ERROR(Core, "MakeApplicationProcess"); // Make the process created be the application kernel.MakeApplicationProcess(process->GetHandle()); // Set up the rest of the system. + LOG_ERROR(Core, "init_result"); SystemResultStatus init_result{SetupForApplicationProcess(system, emu_window)}; if (init_result != SystemResultStatus::Success) { LOG_CRITICAL(Core, "Failed to initialize system (Error {})!", @@ -343,15 +345,18 @@ struct System::Impl { return init_result; } + LOG_ERROR(Core, "cheat_engine"); // Initialize cheat engine if (cheat_engine) { cheat_engine->Initialize(); } + LOG_ERROR(Core, "CreateAndInsertByFrontendAppletParameters"); // Register with applet manager // All threads are started, begin main process execution, now that we're in the clear applet_manager.CreateAndInsertByFrontendAppletParameters(std::move(process), params); + LOG_ERROR(Core, "if gamecard_inserted"); if (Settings::values.gamecard_inserted) { if (Settings::values.gamecard_current_game) { fs_controller.SetGameCard(GetGameFileFromPath(virtual_filesystem, filepath)); @@ -363,7 +368,9 @@ struct System::Impl { perf_stats = std::make_unique(params.program_id); // Reset counters and set time origin to current frame + LOG_ERROR(Core, "GetAndResetPerfStats"); GetAndResetPerfStats(); + LOG_ERROR(Core, "BeginSystemFrame"); perf_stats->BeginSystemFrame(); LOG_ERROR(Core, "Creating Patch Manager Instance");