diff options
| author | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-03 12:56:27 -0500 |
|---|---|---|
| committer | Duck912 <350528965+Duck912@users.noreply.github.com> | 2026-11-03 13:06:59 -0500 |
| commit | f4f076fe447b2ddc158fcc12ee81ed2af2aecad7 (patch) | |
| tree | 43f418e4a46e2b5ea6626e8e793116817ce36acd /src/video_core/gpu_logging/freedreno_debug.cpp | |
| parent | b1179a44fbd1cf514c2bed56bf235fbe456c8c7b (diff) | |
video_core, yuzu: write NVIDIA DLSS file paths to logs as UTF-8
The Streamline start-up and DLSS download code formatted paths with std::filesystem::path::string(),
which on MSVC converts to the active code page and throws when a character has no mapping there,
for example a user name in another script under %APPDATA%. The start-up log runs inside the
renderer's constructor, which only catches vk::Exception, so such a user would crash at game start
with the setting on.
Use Common::FS::PathToUTF8String for every path in these logs and messages.
Found by CodeRabbit review.
Assisted-by: Claude Opus 5.5 (implementation)
Signed-off-by: Duck912 <350528965+Duck912@users.noreply.github.com>
Diffstat (limited to 'src/video_core/gpu_logging/freedreno_debug.cpp')
0 files changed, 0 insertions, 0 deletions
