mirror of
https://github.com/RPCSX/rpcsx.git
synced 2025-12-06 07:12:14 +01:00
45 lines
1.2 KiB
C++
45 lines
1.2 KiB
C++
#pragma once
|
|
|
|
#include "util/types.hpp"
|
|
#include <string>
|
|
|
|
enum class game_content_type
|
|
{
|
|
content_icon,
|
|
content_icon_video,
|
|
content_icon_sound,
|
|
overlay_picture,
|
|
background_picture,
|
|
};
|
|
|
|
namespace rpcs3::utils
|
|
{
|
|
u32 get_max_threads();
|
|
|
|
void configure_logs(bool force_enable = false);
|
|
|
|
u32 check_user(const std::string& user);
|
|
|
|
bool install_pkg(const std::string& path);
|
|
|
|
std::string get_emu_dir();
|
|
std::string get_games_dir();
|
|
std::string get_hdd0_dir();
|
|
std::string get_hdd1_dir();
|
|
std::string get_cache_dir();
|
|
std::string get_cache_dir(std::string_view module_path);
|
|
|
|
std::string get_rap_file_path(const std::string_view& rap);
|
|
bool verify_c00_unlock_edat(const std::string_view& content_id, bool fast = false);
|
|
std::string get_sfo_dir_from_game_path(const std::string& game_path, const std::string& title_id = "");
|
|
|
|
std::string get_custom_config_dir();
|
|
std::string get_custom_config_path(const std::string& identifier);
|
|
|
|
std::string get_input_config_root();
|
|
std::string get_input_config_dir(const std::string& title_id = "");
|
|
std::string get_custom_input_config_path(const std::string& title_id);
|
|
|
|
std::string get_game_content_path(game_content_type type);
|
|
}
|