mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-12-28 17:10:06 +00:00
Use constexpr char array instead of string where applicable
Co-Authored-By: FreddyFunk <frederic.laing.development@gmail.com>
This commit is contained in:
parent
9d411699d8
commit
996ddb202b
@ -1072,7 +1072,7 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) {
|
|||||||
ASSERT(program_id != 0);
|
ASSERT(program_id != 0);
|
||||||
|
|
||||||
std::string transferable_shader_cache_file_path;
|
std::string transferable_shader_cache_file_path;
|
||||||
const std::string open_target = "Transferable Shader Cache";
|
constexpr char open_target[] = "Transferable Shader Cache";
|
||||||
const std::string tranferable_shader_cache_folder =
|
const std::string tranferable_shader_cache_folder =
|
||||||
FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir) + "opengl" + DIR_SEP "transferable";
|
FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir) + "opengl" + DIR_SEP "transferable";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user