[GPU] Trace viewer Android content URI loading

This commit is contained in:
Triang3l
2022-07-17 16:37:49 +03:00
parent 624f2b2d9e
commit 25663827ba
5 changed files with 33 additions and 17 deletions

View File

@@ -10,6 +10,7 @@
#include "xenia/gpu/trace_dump.h"
#include "third_party/stb/stb_image_write.h"
#include "xenia/base/filesystem.h"
#include "xenia/base/logging.h"
#include "xenia/base/profiling.h"
#include "xenia/base/string.h"
@@ -109,7 +110,7 @@ bool TraceDump::Setup() {
bool TraceDump::Load(const std::filesystem::path& trace_file_path) {
trace_file_path_ = trace_file_path;
if (!player_->Open(trace_file_path_)) {
if (!player_->Open(xe::path_to_utf8(trace_file_path_))) {
XELOGE("Could not load trace file");
return false;
}