diff options
| author | 2019-02-08 14:03:10 +0100 | |
|---|---|---|
| committer | 2019-02-08 14:03:10 +0100 | |
| commit | 996ddb202b3dfdf7eed64532b3399a244ad0d5c2 (patch) | |
| tree | a27cd5e9842c031b2c1a7716f6e5009d61ea50cc | |
| parent | frontend: Open transferable shader cache for a selected game in the gamelist (diff) | |
| download | yuzu-996ddb202b3dfdf7eed64532b3399a244ad0d5c2.tar.gz yuzu-996ddb202b3dfdf7eed64532b3399a244ad0d5c2.tar.xz yuzu-996ddb202b3dfdf7eed64532b3399a244ad0d5c2.zip | |
Use constexpr char array instead of string where applicable
Co-Authored-By: FreddyFunk <frederic.laing.development@gmail.com>
Diffstat (limited to '')
| -rw-r--r-- | src/yuzu/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index b1df2760d..6d42bc67f 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp | |||
| @@ -1072,7 +1072,7 @@ void GMainWindow::OnTransferableShaderCacheOpenFile(u64 program_id) { | |||
| 1072 | ASSERT(program_id != 0); | 1072 | ASSERT(program_id != 0); |
| 1073 | 1073 | ||
| 1074 | std::string transferable_shader_cache_file_path; | 1074 | std::string transferable_shader_cache_file_path; |
| 1075 | const std::string open_target = "Transferable Shader Cache"; | 1075 | constexpr char open_target[] = "Transferable Shader Cache"; |
| 1076 | const std::string tranferable_shader_cache_folder = | 1076 | const std::string tranferable_shader_cache_folder = |
| 1077 | FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir) + "opengl" + DIR_SEP "transferable"; | 1077 | FileUtil::GetUserPath(FileUtil::UserPath::ShaderDir) + "opengl" + DIR_SEP "transferable"; |
| 1078 | 1078 | ||