From 76a8b5ee5a47b6ee2f569a89cb5d02a3e05a3770 Mon Sep 17 00:00:00 2001 From: tobid7 Date: Wed, 1 May 2024 19:33:53 +0200 Subject: [PATCH] small bugfix --- source/ResultDecoder.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/ResultDecoder.cpp b/source/ResultDecoder.cpp index b34406e..cab2b3e 100644 --- a/source/ResultDecoder.cpp +++ b/source/ResultDecoder.cpp @@ -2,10 +2,9 @@ #include #include #include +#include #include -extern std::string D_app_name; - static std::map modules = { {0, "common"}, {1, "kernel"}, @@ -439,7 +438,7 @@ std::string ResultDecoder::GetSummary() { } void RenderD7::ResultDecoder::WriteLog() { - std::string out_path = "sdmc:/RenderD7/Apps/" + D_app_name + "/resdec/"; + std::string out_path = "sdmc:/RenderD7/Apps/" + rd7i_app_name + "/resdec/"; std::filesystem::create_directories(out_path); out_path += "/err_result_" + std::to_string(time(0)) + ".log"; std::ofstream out(out_path, std::ios::app);