From 8cbfee213646abfc05c913ac8743f617283d2a30 Mon Sep 17 00:00:00 2001 From: Farmerbilly27 Date: Wed, 24 Sep 2025 17:42:59 -0500 Subject: [PATCH] chore: remove unused Logs/Mail/ dir --- Source/Core/Common/CommonPaths.h | 1 - Source/Core/Common/FileUtil.cpp | 2 -- Source/Core/Common/FileUtil.h | 1 - Source/Core/UICommon/UICommon.cpp | 1 - 4 files changed, 5 deletions(-) diff --git a/Source/Core/Common/CommonPaths.h b/Source/Core/Common/CommonPaths.h index 16cc22de19f..d0efa660065 100644 --- a/Source/Core/Common/CommonPaths.h +++ b/Source/Core/Common/CommonPaths.h @@ -70,7 +70,6 @@ #define DUMP_DEBUG_BRANCHWATCH_DIR "BranchWatch" #define DUMP_DEBUG_JITBLOCKS_DIR "JitBlocks" #define LOGS_DIR "Logs" -#define MAIL_LOGS_DIR "Mail" #define SHADERS_DIR "Shaders" #define WII_SYSCONF_DIR "shared2" DIR_SEP "sys" #define WII_WC24CONF_DIR "shared2" DIR_SEP "wc24" diff --git a/Source/Core/Common/FileUtil.cpp b/Source/Core/Common/FileUtil.cpp index 32f1bbc7222..21b8a1bf3cb 100644 --- a/Source/Core/Common/FileUtil.cpp +++ b/Source/Core/Common/FileUtil.cpp @@ -872,7 +872,6 @@ static void RebuildUserDirectories(unsigned int dir_index) s_user_paths[D_DUMPDEBUG_JITBLOCKS_IDX] = s_user_paths[D_DUMPDEBUG_IDX] + DUMP_DEBUG_JITBLOCKS_DIR DIR_SEP; s_user_paths[D_LOGS_IDX] = s_user_paths[D_USER_IDX] + LOGS_DIR DIR_SEP; - s_user_paths[D_MAILLOGS_IDX] = s_user_paths[D_LOGS_IDX] + MAIL_LOGS_DIR DIR_SEP; s_user_paths[D_THEMES_IDX] = s_user_paths[D_USER_IDX] + THEMES_DIR DIR_SEP; s_user_paths[D_STYLES_IDX] = s_user_paths[D_USER_IDX] + STYLES_DIR DIR_SEP; s_user_paths[D_PIPES_IDX] = s_user_paths[D_USER_IDX] + PIPES_DIR DIR_SEP; @@ -965,7 +964,6 @@ static void RebuildUserDirectories(unsigned int dir_index) break; case D_LOGS_IDX: - s_user_paths[D_MAILLOGS_IDX] = s_user_paths[D_LOGS_IDX] + MAIL_LOGS_DIR DIR_SEP; s_user_paths[F_MAINLOG_IDX] = s_user_paths[D_LOGS_IDX] + MAIN_LOG; break; diff --git a/Source/Core/Common/FileUtil.h b/Source/Core/Common/FileUtil.h index 134dbda9f91..eb6473e5099 100644 --- a/Source/Core/Common/FileUtil.h +++ b/Source/Core/Common/FileUtil.h @@ -58,7 +58,6 @@ enum D_DUMPDEBUG_JITBLOCKS_IDX, D_LOAD_IDX, D_LOGS_IDX, - D_MAILLOGS_IDX, D_THEMES_IDX, D_STYLES_IDX, D_PIPES_IDX, diff --git a/Source/Core/UICommon/UICommon.cpp b/Source/Core/UICommon/UICommon.cpp index 4f55660bcc3..b46b21db527 100644 --- a/Source/Core/UICommon/UICommon.cpp +++ b/Source/Core/UICommon/UICommon.cpp @@ -271,7 +271,6 @@ void CreateDirectories() File::CreateFullPath(File::GetUserPath(D_GCUSER_IDX) + JAP_DIR DIR_SEP); File::CreateFullPath(File::GetUserPath(D_HIRESTEXTURES_IDX)); File::CreateFullPath(File::GetUserPath(D_GRAPHICSMOD_IDX)); - File::CreateFullPath(File::GetUserPath(D_MAILLOGS_IDX)); File::CreateFullPath(File::GetUserPath(D_MAPS_IDX)); File::CreateFullPath(File::GetUserPath(D_SCREENSHOTS_IDX)); File::CreateFullPath(File::GetUserPath(D_SHADERS_IDX));