mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2026-06-01 12:15:43 -06:00
fixed some duplicated stuff
This commit is contained in:
parent
9b9f6b784b
commit
f7efd87055
@ -1,4 +1,4 @@
|
|||||||
// SPDX-FileCopyrightText: Copyright 2026 shadPS4 Emulator Project
|
// SPDX-FileCopyrightText: Copyright 2024 shadPS4 Emulator Project
|
||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include <fstream>
|
#include <fstream>
|
||||||
@ -127,7 +127,6 @@ static auto UserPaths = [] {
|
|||||||
create_path(PathType::MetaDataDir, user_dir / METADATA_DIR);
|
create_path(PathType::MetaDataDir, user_dir / METADATA_DIR);
|
||||||
create_path(PathType::CustomTrophy, user_dir / CUSTOM_TROPHY);
|
create_path(PathType::CustomTrophy, user_dir / CUSTOM_TROPHY);
|
||||||
create_path(PathType::CustomConfigs, user_dir / CUSTOM_CONFIGS);
|
create_path(PathType::CustomConfigs, user_dir / CUSTOM_CONFIGS);
|
||||||
create_path(PathType::HomeDir, user_dir / HOME_DIR);
|
|
||||||
create_path(PathType::CacheDir, user_dir / CACHE_DIR);
|
create_path(PathType::CacheDir, user_dir / CACHE_DIR);
|
||||||
create_path(PathType::FontsDir, user_dir / FONTS_DIR);
|
create_path(PathType::FontsDir, user_dir / FONTS_DIR);
|
||||||
create_path(PathType::HomeDir, user_dir / HOME_DIR);
|
create_path(PathType::HomeDir, user_dir / HOME_DIR);
|
||||||
|
|||||||
@ -24,7 +24,6 @@ enum class PathType {
|
|||||||
MetaDataDir, // Where game metadata (e.g. trophies and menu backgrounds) is stored.
|
MetaDataDir, // Where game metadata (e.g. trophies and menu backgrounds) is stored.
|
||||||
CustomTrophy, // Where custom files for trophies are stored.
|
CustomTrophy, // Where custom files for trophies are stored.
|
||||||
CustomConfigs, // Where custom files for different games are stored.
|
CustomConfigs, // Where custom files for different games are stored.
|
||||||
HomeDir, // PS4 home directory
|
|
||||||
CacheDir, // Where pipeline and shader cache is stored.
|
CacheDir, // Where pipeline and shader cache is stored.
|
||||||
FontsDir, // Where dumped system fonts are stored.
|
FontsDir, // Where dumped system fonts are stored.
|
||||||
HomeDir, // PS4 home directory
|
HomeDir, // PS4 home directory
|
||||||
@ -46,7 +45,6 @@ constexpr auto PATCHES_DIR = "patches";
|
|||||||
constexpr auto METADATA_DIR = "game_data";
|
constexpr auto METADATA_DIR = "game_data";
|
||||||
constexpr auto CUSTOM_TROPHY = "custom_trophy";
|
constexpr auto CUSTOM_TROPHY = "custom_trophy";
|
||||||
constexpr auto CUSTOM_CONFIGS = "custom_configs";
|
constexpr auto CUSTOM_CONFIGS = "custom_configs";
|
||||||
constexpr auto HOME_DIR = "home";
|
|
||||||
constexpr auto CACHE_DIR = "cache";
|
constexpr auto CACHE_DIR = "cache";
|
||||||
constexpr auto FONTS_DIR = "fonts";
|
constexpr auto FONTS_DIR = "fonts";
|
||||||
constexpr auto HOME_DIR = "home";
|
constexpr auto HOME_DIR = "home";
|
||||||
|
|||||||
@ -2,7 +2,6 @@
|
|||||||
// SPDX-License-Identifier: GPL-2.0-or-later
|
// SPDX-License-Identifier: GPL-2.0-or-later
|
||||||
|
|
||||||
#include "common/logging/log.h"
|
#include "common/logging/log.h"
|
||||||
#include "core/emulator_settings.h"
|
|
||||||
#include "core/libraries/error_codes.h"
|
#include "core/libraries/error_codes.h"
|
||||||
#include "core/libraries/libs.h"
|
#include "core/libraries/libs.h"
|
||||||
#include "usbd.h"
|
#include "usbd.h"
|
||||||
|
|||||||
@ -14,7 +14,6 @@
|
|||||||
#endif
|
#endif
|
||||||
#include "common/debug.h"
|
#include "common/debug.h"
|
||||||
#include "common/types.h"
|
#include "common/types.h"
|
||||||
#include "core/emulator_settings.h"
|
|
||||||
#include "video_core/buffer_cache/region_definitions.h"
|
#include "video_core/buffer_cache/region_definitions.h"
|
||||||
#include "video_core/page_manager.h"
|
#include "video_core/page_manager.h"
|
||||||
|
|
||||||
|
|||||||
@ -7,7 +7,6 @@
|
|||||||
#include "common/thread.h"
|
#include "common/thread.h"
|
||||||
#include "core/emulator_settings.h"
|
#include "core/emulator_settings.h"
|
||||||
|
|
||||||
#include "core/emulator_settings.h"
|
|
||||||
#include "video_core/cache_storage.h"
|
#include "video_core/cache_storage.h"
|
||||||
#include "video_core/renderer_vulkan/vk_instance.h"
|
#include "video_core/renderer_vulkan/vk_instance.h"
|
||||||
#include "video_core/renderer_vulkan/vk_pipeline_cache.h"
|
#include "video_core/renderer_vulkan/vk_pipeline_cache.h"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user