summaryrefslogtreecommitdiff
path: root/src/yuzu/game_list.h
diff options
context:
space:
mode:
authorlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-02 15:05:45 -0400
committerlat9nq <22451773+lat9nq@users.noreply.github.com>2021-06-02 19:50:20 -0400
commitc41451af75520a19b050347bb9c267b69773ff0a (patch)
treeba77ef44510bcc5e31bc686328f3f9d152bbafb4 /src/yuzu/game_list.h
parent377cd301b30aaee015d6981387284ab5cbd7cc3e (diff)
yuzu qt: Revert some usages of string_view
Causes a heap-use-after free reported by AddressSanitizer. This makes use of std::filesystem::path, but due to that we have to use their string() function which may not work for all characters.
Diffstat (limited to 'src/yuzu/game_list.h')
-rw-r--r--src/yuzu/game_list.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/yuzu/game_list.h b/src/yuzu/game_list.h
index 2867f6653..ab6866735 100644
--- a/src/yuzu/game_list.h
+++ b/src/yuzu/game_list.h
@@ -89,7 +89,7 @@ signals:
void OpenTransferableShaderCacheRequested(u64 program_id);
void RemoveInstalledEntryRequested(u64 program_id, InstalledEntryType type);
void RemoveFileRequested(u64 program_id, GameListRemoveTarget target,
- std::string_view game_path);
+ const std::string& game_path);
void DumpRomFSRequested(u64 program_id, const std::string& game_path);
void CopyTIDRequested(u64 program_id);
void NavigateToGamedbEntryRequested(u64 program_id,