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);